Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001363/0.001363, allocations: 123 kB / 17.79 MB, free: 5.285 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.001471/0.001471, allocations: 189.2 kB / 20.73 MB, free: 2.352 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.509/1.509, allocations: 225.6 MB / 249.1 MB, free: 3.719 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.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 51.92 kB / 365.7 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1202, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002923/0.1231, allocations: 1.45 MB / 419.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001883/0.1233, allocations: 27.91 kB / 419.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.1234, allocations: 3.938 kB / 419.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.1234, allocations: 4 kB / 419.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.814e-05/0.1234, allocations: 7.875 kB / 419.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1237, allocations: 27.23 kB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.175e-05/0.1238, allocations: 31.91 kB / 419.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1239, allocations: 11.98 kB / 419.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.106e-05/0.1239, allocations: 11.94 kB / 419.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.124, allocations: 15.92 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.124, allocations: 0 / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.124, allocations: 4 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.124, allocations: 4 kB / 419.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.1241, allocations: 19.92 kB / 419.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.1242, allocations: 35.77 kB / 419.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1242, allocations: 3.938 kB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1242, allocations: 0 / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1242, allocations: 0 / 419.4 MB, free: 10.95 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.0005039/0.1247, allocations: 347.4 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1247, allocations: 8.031 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.1248, allocations: 34.75 kB / 419.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.1248, allocations: 0.9375 kB / 419.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.125, allocations: 188.3 kB / 420 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.125, allocations: 4.312 kB / 420 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.125, allocations: 384 / 420 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.1254, allocations: 127.8 kB / 420.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1254, allocations: 3.938 kB / 420.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1254, allocations: 0 / 420.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1254, allocations: 7.922 kB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.1256, allocations: 31.97 kB / 420.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.1257, allocations: 153.7 kB / 420.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1259, allocations: 54.55 kB / 420.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.126, allocations: 24.92 kB / 420.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.126, allocations: 0 / 420.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.126, allocations: 34.55 kB / 420.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.126, allocations: 4 kB / 420.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003162/0.1264, allocations: 93.42 kB / 420.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.1264, allocations: 59.41 kB / 420.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.486e-05/0.1265, allocations: 97.86 kB / 420.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1265, allocations: 29.7 kB / 420.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.1266, allocations: 84.12 kB / 420.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.1266, allocations: 4 kB / 420.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.1266, allocations: 13.72 kB / 420.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1268, allocations: 318.8 kB / 421.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.1268, allocations: 7.984 kB / 421.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.1268, allocations: 27.44 kB / 421.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.429e-05/0.1269, allocations: 39.38 kB / 421.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1269, allocations: 0 / 421.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001004/0.127, allocations: 65.56 kB / 421.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.127, allocations: 11.94 kB / 421.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.127, allocations: 0 / 421.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.127, allocations: 0 / 421.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.852e-05/0.1271, allocations: 11.98 kB / 421.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1271, allocations: 0 / 421.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.1271, allocations: 12.45 kB / 421.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1271, allocations: 0 / 421.3 MB, free: 8.828 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.000105/0.1273, allocations: 117.8 kB / 421.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.1274, allocations: 65.55 kB / 421.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.1274, allocations: 11.91 kB / 421.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1274, allocations: 0 / 421.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1274, allocations: 0 / 421.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1274, allocations: 0 / 421.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.1276, allocations: 157.7 kB / 421.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1276, allocations: 0 / 421.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.1276, allocations: 15.98 kB / 421.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1276, allocations: 7.875 kB / 421.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1276, allocations: 3.938 kB / 421.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1276, allocations: 4 kB / 421.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1276, allocations: 0 / 421.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1278, allocations: 93.23 kB / 421.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.1279, allocations: 81.14 kB / 421.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1279, allocations: 7.922 kB / 421.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.271e-05/0.1279, allocations: 8 kB / 421.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-06/0.1279, allocations: 0 / 421.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.128, allocations: 8 kB / 421.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.099e-05/0.128, allocations: 83.27 kB / 422 MB, free: 8.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.128, allocations: 0 / 422 MB, free: 8.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.1282, allocations: 8 kB / 422 MB, free: 8.059 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0006261/0.1288, allocations: 0.6475 MB / 422.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.129, allocations: 35.91 kB / 422.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.129, allocations: 0 / 422.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.129, allocations: 0 / 422.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1293, allocations: 33.31 kB / 422.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1304, allocations: 1.176 MB / 423.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1307, allocations: 0.6844 MB / 424.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.204e-05/0.1307, allocations: 0 / 424.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.1308, allocations: 19.42 kB / 424.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1308, allocations: 0 / 424.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.1545, allocations: 1.39 MB / 426 MB, free: 4.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.057, allocations: 8.578 kB / 426 MB, free: 4.031 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_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_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:time,assignClock1.u,assignClock1.y,step.y,periodicClock1.period,step.height [Calling sys.exit(0), Time elapsed: 10.653970918152481]