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.001765/0.001765, allocations: 119 kB / 17.78 MB, free: 5.23 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.001837/0.001837, allocations: 197.2 kB / 20.73 MB, free: 2.289 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.52/1.52, 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.001476/0.001476, allocations: 47.92 kB / 365.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.113, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00307/0.116, allocations: 1.48 MB / 419.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000303/0.1163, allocations: 95.62 kB / 419.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.1164, allocations: 4 kB / 419.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.1164, allocations: 3.938 kB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.1165, allocations: 7.922 kB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.1168, allocations: 23.86 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.573e-05/0.1168, allocations: 27.92 kB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1169, allocations: 11.97 kB / 419.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.235e-05/0.117, allocations: 11.94 kB / 419.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.117, allocations: 11.94 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.117, allocations: 4 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.1171, allocations: 0 / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.1171, allocations: 3.984 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.1171, allocations: 15.88 kB / 419.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.957e-05/0.1172, allocations: 35.83 kB / 419.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1172, allocations: 0 / 419.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1172, allocations: 3.938 kB / 419.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1172, allocations: 4 kB / 419.5 MB, free: 10.85 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.0004878/0.1177, allocations: 343.3 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1177, allocations: 12.03 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.1178, allocations: 30.75 kB / 419.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.1178, allocations: 8.938 kB / 419.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.1181, allocations: 172.3 kB / 420.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1181, allocations: 384 / 420.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1181, allocations: 4.375 kB / 420.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1184, allocations: 111.9 kB / 420.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1184, allocations: 3.938 kB / 420.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1184, allocations: 3.984 kB / 420.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1184, allocations: 0 / 420.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.731e-05/0.1185, allocations: 23.92 kB / 420.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.1187, allocations: 157.7 kB / 420.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.1189, allocations: 54.48 kB / 420.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.278e-05/0.1189, allocations: 24.92 kB / 420.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1189, allocations: 0 / 420.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.119, allocations: 34.56 kB / 420.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.119, allocations: 0 / 420.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002461/0.1192, allocations: 77.5 kB / 420.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.1193, allocations: 55.59 kB / 420.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.1194, allocations: 105.8 kB / 420.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1194, allocations: 25.7 kB / 420.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.1194, allocations: 88.08 kB / 420.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.1194, allocations: 0 / 420.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1195, allocations: 21.72 kB / 420.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1196, allocations: 314.8 kB / 421.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.1196, allocations: 4 kB / 421.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.1197, allocations: 31.42 kB / 421.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.976e-05/0.1197, allocations: 39.38 kB / 421.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1197, allocations: 7.984 kB / 421.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.006e-05/0.1198, allocations: 53.58 kB / 421.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1198, allocations: 7.938 kB / 421.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1198, allocations: 0 / 421.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1198, allocations: 4 kB / 421.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/0.1199, allocations: 7.984 kB / 421.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1199, allocations: 4.125 kB / 421.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.1199, allocations: 4 kB / 421.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.1199, allocations: 0 / 421.3 MB, free: 8.785 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.972e-05/0.12, allocations: 113.8 kB / 421.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.1201, allocations: 65.5 kB / 421.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.1201, allocations: 11.91 kB / 421.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1201, allocations: 0 / 421.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1202, allocations: 0 / 421.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1202, allocations: 4 kB / 421.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.1203, allocations: 157.6 kB / 421.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1203, allocations: 0 / 421.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.1203, allocations: 11.98 kB / 421.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1203, allocations: 3.938 kB / 421.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1203, allocations: 0 / 421.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1203, allocations: 256 / 421.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1204, allocations: 4 kB / 421.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1205, allocations: 85.11 kB / 421.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.1206, allocations: 85.06 kB / 421.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.1206, allocations: 7.875 kB / 421.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.229e-05/0.1206, allocations: 0 / 421.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-06/0.1206, allocations: 3.938 kB / 421.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1206, allocations: 4 kB / 421.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.188e-05/0.1207, allocations: 87.27 kB / 422 MB, free: 8.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1207, allocations: 3.938 kB / 422 MB, free: 8.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001956/0.1209, allocations: 4 kB / 422 MB, free: 8.035 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.0005243/0.1214, allocations: 0.6241 MB / 422.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.1216, allocations: 31.92 kB / 422.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1216, allocations: 0 / 422.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.1216, allocations: 256 / 422.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.1218, allocations: 30.19 kB / 422.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.123, allocations: 1.143 MB / 423.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1233, allocations: 0.6922 MB / 424.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.423e-05/0.1234, allocations: 4 kB / 424.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.1234, allocations: 7.438 kB / 424.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1234, allocations: 0 / 424.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.1479, allocations: 1.258 MB / 425.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.129, allocations: 8.578 kB / 425.8 MB, free: 4.199 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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.651986808050424]