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.001282/0.001282, allocations: 116.8 kB / 17.74 MB, free: 5.312 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.001399/0.001399, allocations: 186.9 kB / 20.68 MB, free: 2.383 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.432/1.432, allocations: 222.9 MB / 246.4 MB, free: 4.191 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.001532/0.001532, allocations: 47.92 kB / 357.5 MB, free: 8.809 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1025, allocations: 49.45 MB / 406.9 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00256/0.1051, allocations: 1.446 MB / 408.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002668/0.1053, allocations: 103.6 kB / 408.5 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.1054, allocations: 4 kB / 408.5 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.1055, allocations: 7.922 kB / 408.5 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.883e-05/0.1055, allocations: 3.938 kB / 408.5 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.1057, allocations: 16 kB / 408.5 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.1058, allocations: 31.84 kB / 408.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.1059, allocations: 11.98 kB / 408.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.134e-05/0.106, allocations: 11.94 kB / 408.6 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.23e-05/0.106, allocations: 11.92 kB / 408.6 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.106, allocations: 0 / 408.6 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.1061, allocations: 8 kB / 408.6 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.1061, allocations: 4 kB / 408.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.1061, allocations: 11.94 kB / 408.6 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.99e-05/0.1062, allocations: 40.03 kB / 408.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1062, allocations: 3.938 kB / 408.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1062, allocations: 0 / 408.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1062, allocations: 0 / 408.7 MB, free: 5.598 MB / 334.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.000426/0.1067, allocations: 347.3 kB / 409 MB, free: 5.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1067, allocations: 8.031 kB / 409 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.1068, allocations: 38.75 kB / 409 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.1068, allocations: 4.938 kB / 409 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.107, allocations: 180.3 kB / 409.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.107, allocations: 384 / 409.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.107, allocations: 4.375 kB / 409.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.1073, allocations: 107.9 kB / 409.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1074, allocations: 7.938 kB / 409.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1074, allocations: 0 / 409.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1074, allocations: 7.922 kB / 409.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.969e-05/0.1075, allocations: 15.98 kB / 409.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.1076, allocations: 153.7 kB / 409.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1078, allocations: 54.55 kB / 409.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.1079, allocations: 28.92 kB / 409.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1079, allocations: 0 / 409.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1079, allocations: 30.56 kB / 409.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1079, allocations: 0 / 409.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000221/0.1081, allocations: 77.5 kB / 409.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.1082, allocations: 55.41 kB / 409.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.1083, allocations: 109.8 kB / 409.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1083, allocations: 25.7 kB / 409.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.1084, allocations: 88.08 kB / 410 MB, free: 4.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.111e-06/0.1084, allocations: 0 / 410 MB, free: 4.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.1084, allocations: 21.7 kB / 410 MB, free: 4.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1086, allocations: 310.8 kB / 410.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.1086, allocations: 4 kB / 410.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.1086, allocations: 31.44 kB / 410.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.1087, allocations: 39.36 kB / 410.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.1087, allocations: 0 / 410.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.331e-05/0.1088, allocations: 57.61 kB / 410.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1088, allocations: 7.938 kB / 410.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1088, allocations: 3.984 kB / 410.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1088, allocations: 7.938 kB / 410.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.44e-05/0.1089, allocations: 4 kB / 410.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1089, allocations: 4 kB / 410.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.1089, allocations: 3.938 kB / 410.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-06/0.1089, allocations: 0 / 410.5 MB, free: 3.531 MB / 334.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 7.691e-05/0.109, allocations: 113.8 kB / 410.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.1091, allocations: 69.59 kB / 410.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.1091, allocations: 11.91 kB / 410.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1092, allocations: 0 / 410.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1092, allocations: 0 / 410.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1092, allocations: 0 / 410.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.1093, allocations: 153.7 kB / 410.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1093, allocations: 256 / 410.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.1093, allocations: 15.98 kB / 410.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1094, allocations: 3.938 kB / 410.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.1094, allocations: 0 / 410.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1094, allocations: 4 kB / 410.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1094, allocations: 0 / 410.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.1095, allocations: 93.36 kB / 410.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.1096, allocations: 85.06 kB / 411 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1096, allocations: 3.938 kB / 411 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.286e-05/0.1096, allocations: 0 / 411 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-06/0.1096, allocations: 4 kB / 411 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1097, allocations: 7.984 kB / 411 MB, free: 2.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.055e-05/0.1097, allocations: 83.28 kB / 411.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1097, allocations: 0 / 411.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.1099, allocations: 4 kB / 411.1 MB, free: 2.781 MB / 334.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.0004533/0.1104, allocations: 0.6241 MB / 411.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.1105, allocations: 31.92 kB / 411.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1105, allocations: 3.938 kB / 411.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1105, allocations: 0 / 411.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.1107, allocations: 27.91 kB / 411.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1117, allocations: 1.154 MB / 412.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.112, allocations: 0.6883 MB / 413.6 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.23e-05/0.1121, allocations: 0 / 413.6 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.1121, allocations: 7.438 kB / 413.6 MB, free: 92 kB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1121, allocations: 0 / 413.6 MB, free: 92 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.1339, allocations: 1.263 MB / 414.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.883, allocations: 8.562 kB / 414.9 MB, free: 14.93 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.24596944404766]