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.001815/0.001815, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002167/0.002167, allocations: 214 kB / 23.73 MB, free: 4.16 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.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 0.001612/0.001612, allocations: 43.94 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2552, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002763/0.258, allocations: 1.436 MB / 432.5 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001988/0.2582, allocations: 39.84 kB / 432.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.785e-05/0.2583, allocations: 0 / 432.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.2583, allocations: 0 / 432.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.2583, allocations: 11.88 kB / 432.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.2586, allocations: 15.97 kB / 432.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.943e-05/0.2587, allocations: 31.92 kB / 432.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2588, allocations: 11.78 kB / 432.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.2588, allocations: 11.94 kB / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.2589, allocations: 19.91 kB / 432.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2589, allocations: 4 kB / 432.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.2589, allocations: 0 / 432.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.2589, allocations: 8 kB / 432.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.259, allocations: 7.938 kB / 432.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.2591, allocations: 31.89 kB / 432.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2591, allocations: 0 / 432.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2591, allocations: 0 / 432.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2591, allocations: 0 / 432.7 MB, free: 5.012 MB / 334.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.0004608/0.2595, allocations: 262.9 kB / 433 MB, free: 4.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2596, allocations: 8.031 kB / 433 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.2596, allocations: 42.67 kB / 433 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.2597, allocations: 8.922 kB / 433 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.2599, allocations: 126.4 kB / 433.1 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.2599, allocations: 8.375 kB / 433.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.2599, allocations: 4.312 kB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.2602, allocations: 111.9 kB / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2603, allocations: 3.938 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2603, allocations: 4 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2603, allocations: 0 / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.2604, allocations: 23.92 kB / 433.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.2605, allocations: 124.8 kB / 433.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.2607, allocations: 46.56 kB / 433.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.902e-05/0.2607, allocations: 20.92 kB / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.2608, allocations: 4 kB / 433.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.2608, allocations: 38.55 kB / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2608, allocations: 0 / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002599/0.261, allocations: 81.5 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.2611, allocations: 55.41 kB / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.2612, allocations: 101.8 kB / 433.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2612, allocations: 25.7 kB / 433.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.2613, allocations: 88.14 kB / 433.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.2613, allocations: 4 kB / 433.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.2613, allocations: 21.7 kB / 433.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2615, allocations: 310.8 kB / 434.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.2615, allocations: 4.25 kB / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.2615, allocations: 39.38 kB / 434.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.977e-05/0.2616, allocations: 39.36 kB / 434.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2616, allocations: 0 / 434.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001049/0.2617, allocations: 73.52 kB / 434.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2617, allocations: 7.938 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2617, allocations: 0 / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2617, allocations: 4 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.728e-05/0.2618, allocations: 4 kB / 434.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2618, allocations: 3.984 kB / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.2618, allocations: 3.938 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.2618, allocations: 4 kB / 434.4 MB, free: 3.117 MB / 334.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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * 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 9.405e-05/0.2619, allocations: 118 kB / 434.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.262, allocations: 65.55 kB / 434.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.262, allocations: 7.922 kB / 434.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2621, allocations: 0 / 434.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2621, allocations: 3.984 kB / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2621, allocations: 0 / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.2622, allocations: 124.8 kB / 434.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2622, allocations: 0 / 434.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.2622, allocations: 7.984 kB / 434.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2622, allocations: 3.938 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2622, allocations: 4 kB / 434.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2622, allocations: 4 kB / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2622, allocations: 0 / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.2624, allocations: 89.06 kB / 434.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.2624, allocations: 3.938 kB / 434.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2624, allocations: 3.938 kB / 434.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3e-05/0.2624, allocations: 7.984 kB / 434.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.2624, allocations: 0 / 434.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.2624, allocations: 4 kB / 434.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.791e-05/0.2625, allocations: 83.41 kB / 434.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2625, allocations: 0 / 434.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001779/0.2627, allocations: 4 kB / 434.9 MB, free: 2.512 MB / 334.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: 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.0005867/0.2633, allocations: 0.6476 MB / 435.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.2634, allocations: 27.92 kB / 435.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2634, allocations: 0 / 435.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.2634, allocations: 3.938 kB / 435.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.2636, allocations: 29.12 kB / 435.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.2647, allocations: 1.166 MB / 436.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.591e-05/0.2647, allocations: 67.34 kB / 436.8 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.678e-05/0.2648, allocations: 3.938 kB / 436.8 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.2648, allocations: 19.42 kB / 436.9 MB, free: 412 kB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2648, allocations: 0 / 436.9 MB, free: 412 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.2918, allocations: 1.807 MB / 438.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.2, allocations: 6.516 kB / 438.7 MB, free: 14.71 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/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: Could not read variable assignClock1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.833627367857844]