Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 128.5 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 51.86 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 53.34 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002609/0.1062, allocations: 1.482 MB / 427.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002641/0.1064, allocations: 91.69 kB / 427.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.1065, allocations: 8 kB / 427.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.1065, allocations: 7.922 kB / 427.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.624e-05/0.1066, allocations: 3.938 kB / 427.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.1068, allocations: 19.97 kB / 427.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.637e-05/0.1069, allocations: 19.94 kB / 428 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.284e-05/0.107, allocations: 11.98 kB / 428 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.107, allocations: 7.938 kB / 428 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.1071, allocations: 15.92 kB / 428 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1071, allocations: 0 / 428 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-06/0.1071, allocations: 4 kB / 428 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.1071, allocations: 11.98 kB / 428 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.1072, allocations: 15.88 kB / 428 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.334e-05/0.1072, allocations: 27.84 kB / 428.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1072, allocations: 0 / 428.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1072, allocations: 0 / 428.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1072, allocations: 3.938 kB / 428.1 MB, free: 3.039 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.0004388/0.1077, allocations: 339.4 kB / 428.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1077, allocations: 12.03 kB / 428.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.1078, allocations: 34.75 kB / 428.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.1078, allocations: 12.89 kB / 428.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.108, allocations: 172.3 kB / 428.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.108, allocations: 4.375 kB / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.108, allocations: 4.375 kB / 428.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.1083, allocations: 111.8 kB / 428.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1083, allocations: 7.938 kB / 428.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1084, allocations: 4 kB / 428.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1084, allocations: 0 / 428.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.651e-05/0.1084, allocations: 19.92 kB / 428.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.1086, allocations: 157.6 kB / 428.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.1087, allocations: 50.55 kB / 429 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.318e-05/0.1088, allocations: 24.92 kB / 429 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1088, allocations: 7.984 kB / 429 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1089, allocations: 34.5 kB / 429 MB, free: 1.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1089, allocations: 0 / 429 MB, free: 1.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002122/0.1091, allocations: 73.55 kB / 429.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.1091, allocations: 55.41 kB / 429.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.1092, allocations: 109.8 kB / 429.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1092, allocations: 25.7 kB / 429.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.1093, allocations: 84.14 kB / 429.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/0.1093, allocations: 4 kB / 429.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1093, allocations: 17.7 kB / 429.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1094, allocations: 314.8 kB / 429.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.1095, allocations: 4 kB / 429.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.1095, allocations: 31.42 kB / 429.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.478e-05/0.1095, allocations: 35.38 kB / 429.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1095, allocations: 0 / 429.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.218e-05/0.1096, allocations: 61.66 kB / 429.8 MB, free: 1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1096, allocations: 11.94 kB / 429.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1096, allocations: 0 / 429.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1097, allocations: 0 / 429.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.1097, allocations: 8 kB / 429.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1097, allocations: 0 / 429.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.1097, allocations: 12.2 kB / 429.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.1097, allocations: 0 / 429.9 MB, free: 0.9688 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 7.816e-05/0.1098, allocations: 109.8 kB / 430 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.1099, allocations: 73.58 kB / 430 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.11, allocations: 3.906 kB / 430 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.11, allocations: 4 kB / 430 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.11, allocations: 0 / 430 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.11, allocations: 0 / 430 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.1101, allocations: 161.6 kB / 430.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1101, allocations: 0 / 430.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.52e-05/0.1101, allocations: 11.94 kB / 430.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1101, allocations: 3.938 kB / 430.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.1101, allocations: 0 / 430.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1101, allocations: 0 / 430.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1102, allocations: 4 kB / 430.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.1103, allocations: 85.06 kB / 430.3 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.1103, allocations: 81.05 kB / 430.4 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.1104, allocations: 11.94 kB / 430.4 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.454e-05/0.1104, allocations: 7.922 kB / 430.4 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-06/0.1104, allocations: 0 / 430.4 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1104, allocations: 0 / 430.4 MB, free: 316 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.229e-05/0.1104, allocations: 87.28 kB / 430.5 MB, free: 228 kB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1104, allocations: 0 / 430.5 MB, free: 228 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001817/0.1106, allocations: 8 kB / 430.5 MB, free: 220 kB / 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.0004933/0.1111, allocations: 0.6167 MB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1112, allocations: 31.92 kB / 431.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1112, allocations: 4 kB / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.1112, allocations: 0 / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.1115, allocations: 22.69 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1126, allocations: 1.158 MB / 432.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1129, allocations: 0.6768 MB / 433 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.472e-05/0.1129, allocations: 4 kB / 433 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.1129, allocations: 11.44 kB / 433 MB, free: 13.54 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1129, allocations: 0 / 433 MB, free: 13.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.1373, allocations: 1.245 MB / 434.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/7.715, allocations: 17.55 kB / 434.3 MB, free: 12.39 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.191040134988725]