Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.00106/0.00106, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001307/0.001307, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9412/0.9412, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.159e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002226/0.002247, allocations: 1.445 MB / 326 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002013/0.002449, allocations: 27.86 kB / 326 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.002509, allocations: 0 / 326 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.002539, allocations: 7.922 kB / 326 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.438e-05/0.002574, allocations: 4 kB / 326 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.002823, allocations: 31.86 kB / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.002924, allocations: 31.91 kB / 326.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.00304, allocations: 4 kB / 326.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.985e-05/0.00309, allocations: 15.98 kB / 326.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.003134, allocations: 11.92 kB / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.003162, allocations: 4 kB / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-06/0.00317, allocations: 0 / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.003191, allocations: 15.92 kB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.003221, allocations: 8 kB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.003324, allocations: 23.89 kB / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.003328, allocations: 4 kB / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.003329, allocations: 4 kB / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.003336, allocations: 4 kB / 326.2 MB, free: 14.28 MB / 298.7 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.0003601/0.003696, allocations: 269.2 kB / 326.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.003736, allocations: 8.031 kB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.00377, allocations: 38.73 kB / 326.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.003794, allocations: 4.938 kB / 326.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.00401, allocations: 117.7 kB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.00403, allocations: 384 / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.004043, allocations: 8.375 kB / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.004293, allocations: 123.8 kB / 326.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.0043, allocations: 192 / 326.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.004309, allocations: 384 / 326.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004315, allocations: 4.125 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.048e-05/0.004375, allocations: 15.98 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.004487, allocations: 124.8 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.802e-05/0.004585, allocations: 50.55 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/0.004631, allocations: 24.92 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.00464, allocations: 4 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.004664, allocations: 42.42 kB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.004665, allocations: 0 / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001924/0.004857, allocations: 73.62 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.004906, allocations: 63.34 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.004964, allocations: 101.8 kB / 327.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.004975, allocations: 29.7 kB / 327.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.005004, allocations: 80.14 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.938e-06/0.005014, allocations: 0 / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.005037, allocations: 21.66 kB / 327.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.00512, allocations: 314.8 kB / 327.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-06/0.005129, allocations: 8 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-06/0.005137, allocations: 7.938 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.331e-05/0.005161, allocations: 8.859 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005162, allocations: 0 / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.228e-05/0.005205, allocations: 37.7 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.005217, allocations: 4 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.005222, allocations: 7.984 kB / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.005235, allocations: 0 / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.005284, allocations: 3.938 kB / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.00529, allocations: 8.094 kB / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-06/0.005299, allocations: 0 / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.005302, allocations: 0 / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 6.306e-05/0.005365, allocations: 113.8 kB / 327.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.005441, allocations: 61.88 kB / 327.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.005463, allocations: 11.69 kB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.005465, allocations: 0 / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.005471, allocations: 7.938 kB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.005474, allocations: 0 / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.172e-05/0.005536, allocations: 124.8 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005537, allocations: 4 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.005553, allocations: 4 kB / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.005555, allocations: 0 / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.005563, allocations: 3.984 kB / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.005564, allocations: 0 / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.005567, allocations: 7.938 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.935e-05/0.005656, allocations: 85.05 kB / 328.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.005665, allocations: 8.234 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.005676, allocations: 4 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.005694, allocations: 4 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-06/0.005698, allocations: 3.938 kB / 328.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.005703, allocations: 11.92 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.805e-05/0.005731, allocations: 83.27 kB / 328.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005731, allocations: 3.938 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001209/0.005852, allocations: 8 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,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.0003224/0.006175, allocations: 0.632 MB / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.183e-05/0.006257, allocations: 23.98 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.006258, allocations: 0 / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.006258, allocations: 0 / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.006436, allocations: 27.98 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006656/0.007101, allocations: 1.107 MB / 330.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.007145, allocations: 67.28 kB / 330.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.107e-05/0.007166, allocations: 0 / 330.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.007215, allocations: 12.5 kB / 330.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.007217, allocations: 0 / 330.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.02775, allocations: 1.923 MB / 332.1 MB, free: 8.078 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/6.965, allocations: 7.062 kB / 332.1 MB, free: 8.074 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv: Error: Error opening file: Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 8.812547062523663]