Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 123.2 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 47.92 kB / 365.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 52.15 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00261/0.1067, allocations: 1.464 MB / 419.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002911/0.1069, allocations: 103.6 kB / 419.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.107, allocations: 0 / 419.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.107, allocations: 7.938 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.1071, allocations: 3.938 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.1073, allocations: 19.97 kB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.879e-05/0.1074, allocations: 23.92 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1075, allocations: 8 kB / 419.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.1076, allocations: 15.91 kB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.05e-05/0.1076, allocations: 11.94 kB / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1076, allocations: 0 / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.1076, allocations: 4 kB / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.1077, allocations: 8 kB / 419.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.1077, allocations: 19.86 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.1078, allocations: 31.78 kB / 419.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1078, allocations: 0 / 419.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1078, allocations: 0 / 419.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1078, allocations: 0 / 419.5 MB, free: 10.88 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00051/0.1083, allocations: 343.3 kB / 419.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1084, allocations: 8.031 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.1084, allocations: 46.72 kB / 419.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.1084, allocations: 4.938 kB / 419.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.1087, allocations: 176.3 kB / 420.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1087, allocations: 4.375 kB / 420.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1087, allocations: 4.375 kB / 420.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.1091, allocations: 99.86 kB / 420.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1091, allocations: 11.94 kB / 420.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1091, allocations: 4 kB / 420.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1091, allocations: 0 / 420.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.359e-05/0.1092, allocations: 15.92 kB / 420.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.1093, allocations: 157.7 kB / 420.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1095, allocations: 58.48 kB / 420.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.1096, allocations: 20.89 kB / 420.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1096, allocations: 0 / 420.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.1096, allocations: 42.59 kB / 420.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1096, allocations: 0 / 420.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002406/0.1099, allocations: 77.5 kB / 420.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.1099, allocations: 55.41 kB / 420.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.11, allocations: 109.8 kB / 420.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.11, allocations: 25.7 kB / 420.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.1101, allocations: 88.08 kB / 420.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.1101, allocations: 4 kB / 420.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.1101, allocations: 13.72 kB / 420.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1103, allocations: 314.8 kB / 421.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.1103, allocations: 3.984 kB / 421.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.1103, allocations: 27.44 kB / 421.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/0.1104, allocations: 39.38 kB / 421.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1104, allocations: 0 / 421.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.351e-05/0.1105, allocations: 61.66 kB / 421.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.1105, allocations: 11.94 kB / 421.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1105, allocations: 0 / 421.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1105, allocations: 0 / 421.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.1106, allocations: 8 kB / 421.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1106, allocations: 3.984 kB / 421.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.1106, allocations: 4 kB / 421.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1106, allocations: 4 kB / 421.3 MB, free: 8.805 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.408e-05/0.1107, allocations: 105.8 kB / 421.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1108, allocations: 73.83 kB / 421.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.1109, allocations: 3.953 kB / 421.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1109, allocations: 3.984 kB / 421.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1109, allocations: 3.984 kB / 421.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1109, allocations: 4 kB / 421.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.111, allocations: 157.6 kB / 421.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.111, allocations: 0 / 421.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.1111, allocations: 4 kB / 421.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.1111, allocations: 7.922 kB / 421.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1111, allocations: 4 kB / 421.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1111, allocations: 4 kB / 421.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1111, allocations: 0 / 421.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.1112, allocations: 81.06 kB / 421.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1113, allocations: 85.05 kB / 421.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1113, allocations: 8.188 kB / 421.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.1113, allocations: 4 kB / 421.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.1113, allocations: 7.938 kB / 421.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.1113, allocations: 4 kB / 421.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.777e-05/0.1114, allocations: 83.27 kB / 422 MB, free: 8.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1114, allocations: 3.938 kB / 422 MB, free: 8.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001828/0.1116, allocations: 8 kB / 422 MB, free: 8.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000488/0.1121, allocations: 0.6241 MB / 422.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.1122, allocations: 27.92 kB / 422.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1122, allocations: 0 / 422.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.92e-07/0.1122, allocations: 0 / 422.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1124, allocations: 23.97 kB / 422.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1135, allocations: 1.15 MB / 423.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.1138, allocations: 0.6844 MB / 424.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.514e-05/0.1138, allocations: 0 / 424.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.1139, allocations: 19.42 kB / 424.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1139, allocations: 0 / 424.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.1379, allocations: 1.258 MB / 425.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.305, allocations: 7.828 kB / 425.8 MB, free: 4.219 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.836590866092592]