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.001335/0.001335, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001354/0.001354, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.487/1.487, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001491/0.001491, allocations: 47.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1102, allocations: 53.33 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002867/0.1131, allocations: 1.484 MB / 427.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002973/0.1134, allocations: 99.67 kB / 427.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.1134, allocations: 0 / 427.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.1135, allocations: 3.938 kB / 427.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.771e-05/0.1135, allocations: 11.88 kB / 427.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1138, allocations: 22.72 kB / 427.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.1139, allocations: 23.92 kB / 428 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.114, allocations: 11.98 kB / 428 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.114, allocations: 7.938 kB / 428 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.1141, allocations: 11.94 kB / 428 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1141, allocations: 4 kB / 428 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-06/0.1141, allocations: 0 / 428 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.1141, allocations: 11.98 kB / 428 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.1142, allocations: 11.88 kB / 428 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1143, allocations: 35.83 kB / 428 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1143, allocations: 0 / 428 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1143, allocations: 0 / 428 MB, free: 3.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1143, allocations: 3.938 kB / 428.1 MB, free: 3.062 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.0005003/0.1148, allocations: 343.4 kB / 428.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1148, allocations: 8.031 kB / 428.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.1149, allocations: 34.75 kB / 428.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.1149, allocations: 12.88 kB / 428.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.1151, allocations: 168.4 kB / 428.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1151, allocations: 8.375 kB / 428.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.1152, allocations: 4.375 kB / 428.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.1155, allocations: 99.88 kB / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1155, allocations: 3.938 kB / 428.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1155, allocations: 3.984 kB / 428.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1155, allocations: 4 kB / 428.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.1156, allocations: 23.92 kB / 428.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.1158, allocations: 157.6 kB / 428.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1159, allocations: 50.55 kB / 429 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.116, allocations: 24.92 kB / 429 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.116, allocations: 4 kB / 429 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.116, allocations: 34.5 kB / 429 MB, free: 1.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.116, allocations: 0 / 429 MB, free: 1.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002421/0.1163, allocations: 73.55 kB / 429.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.1163, allocations: 59.41 kB / 429.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.1164, allocations: 109.8 kB / 429.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1165, allocations: 25.7 kB / 429.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.1165, allocations: 88.12 kB / 429.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.1165, allocations: 0 / 429.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.1165, allocations: 17.72 kB / 429.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1167, allocations: 314.8 kB / 429.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.1167, allocations: 8 kB / 429.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.1167, allocations: 23.44 kB / 429.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.1168, allocations: 43.31 kB / 429.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1168, allocations: 7.984 kB / 429.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.07e-05/0.1169, allocations: 53.58 kB / 429.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1169, allocations: 7.938 kB / 429.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1169, allocations: 128 / 429.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1169, allocations: 8 kB / 429.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.392e-05/0.117, allocations: 7.984 kB / 429.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.117, allocations: 3.984 kB / 429.9 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.117, allocations: 7.953 kB / 429.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.117, allocations: 4 kB / 429.9 MB, free: 0.9883 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 8.268e-05/0.1171, allocations: 109.8 kB / 430 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.1172, allocations: 65.83 kB / 430 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.1172, allocations: 7.906 kB / 430 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1173, allocations: 8.031 kB / 430.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1173, allocations: 0 / 430.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1173, allocations: 0 / 430.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.1174, allocations: 157.6 kB / 430.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1174, allocations: 0 / 430.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.1174, allocations: 11.98 kB / 430.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1174, allocations: 3.938 kB / 430.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1174, allocations: 0 / 430.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1174, allocations: 0 / 430.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1174, allocations: 0 / 430.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.1176, allocations: 89.06 kB / 430.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.1176, allocations: 85.05 kB / 430.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1177, allocations: 3.938 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.415e-05/0.1177, allocations: 7.938 kB / 430.4 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-06/0.1177, allocations: 256 / 430.4 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1177, allocations: 4 kB / 430.4 MB, free: 340 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.099e-05/0.1177, allocations: 87.27 kB / 430.5 MB, free: 252 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1177, allocations: 4 kB / 430.5 MB, free: 248 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001871/0.1179, allocations: 8 kB / 430.5 MB, free: 240 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.0005439/0.1185, allocations: 0.6163 MB / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.1186, allocations: 32.11 kB / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1186, allocations: 4.062 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.1186, allocations: 0 / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1189, allocations: 22.05 kB / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.12, allocations: 1.154 MB / 432.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1203, allocations: 0.6846 MB / 433 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.573e-05/0.1203, allocations: 0 / 433 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.1203, allocations: 11.44 kB / 433 MB, free: 13.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1203, allocations: 0 / 433 MB, free: 13.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.146, allocations: 1.249 MB / 434.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/7.854, allocations: 3.938 kB / 434.3 MB, free: 12.42 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 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.csv","/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.647629824001342]