Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001372/0.001372, allocations: 108 kB / 20.43 MB, free: 1.473 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.001499/0.001499, allocations: 188 kB / 23.72 MB, free: 4.719 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.451/1.451, allocations: 225.6 MB / 252.5 MB, free: 13.05 MB / 206.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.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 43.92 kB / 370.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2696, allocations: 52.18 MB / 422.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002651/0.2723, allocations: 1.427 MB / 424.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001933/0.2725, allocations: 43.84 kB / 424.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.2725, allocations: 0 / 424.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.2726, allocations: 3.938 kB / 424.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.2726, allocations: 0 / 424.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.2729, allocations: 23.97 kB / 424.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.884e-05/0.273, allocations: 27.92 kB / 424.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2731, allocations: 8 kB / 424.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.2731, allocations: 15.92 kB / 424.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.358e-05/0.2732, allocations: 7.938 kB / 424.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2732, allocations: 4 kB / 424.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.2732, allocations: 4 kB / 424.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.2732, allocations: 15.97 kB / 424.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.2733, allocations: 11.94 kB / 424.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.2734, allocations: 23.7 kB / 424.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.2734, allocations: 7.938 kB / 424.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2734, allocations: 0 / 424.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2734, allocations: 3.938 kB / 424.2 MB, free: 13.03 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.0004721/0.2739, allocations: 265.9 kB / 424.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2739, allocations: 8.031 kB / 424.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.2739, allocations: 34.75 kB / 424.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.274, allocations: 4.938 kB / 424.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.2742, allocations: 131.4 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.2742, allocations: 384 / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2742, allocations: 4.375 kB / 424.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.2746, allocations: 119.8 kB / 424.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2746, allocations: 7.922 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.2746, allocations: 4 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2746, allocations: 0 / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.2747, allocations: 23.92 kB / 424.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.2748, allocations: 128.7 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.275, allocations: 50.55 kB / 425 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.375e-05/0.2751, allocations: 24.92 kB / 425 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.2751, allocations: 0 / 425 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/0.2751, allocations: 34.56 kB / 425.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.2751, allocations: 0 / 425.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002818/0.2754, allocations: 85.53 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.2755, allocations: 51.41 kB / 425.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.209e-05/0.2756, allocations: 105.9 kB / 425.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2756, allocations: 25.7 kB / 425.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.2756, allocations: 84.12 kB / 425.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.2756, allocations: 11.95 kB / 425.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.2757, allocations: 17.72 kB / 425.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2758, allocations: 318.8 kB / 425.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.2758, allocations: 7.984 kB / 425.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.2759, allocations: 27.44 kB / 425.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.2759, allocations: 39.38 kB / 425.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2759, allocations: 0 / 425.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.864e-05/0.276, allocations: 65.56 kB / 425.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.276, allocations: 7.938 kB / 425.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.276, allocations: 0 / 425.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.276, allocations: 4 kB / 425.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/0.2761, allocations: 4 kB / 425.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.2761, allocations: 8.109 kB / 425.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.057e-05/0.2761, allocations: 4 kB / 425.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.2761, allocations: 0 / 425.9 MB, free: 11.14 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.393e-05/0.2762, allocations: 113.8 kB / 426 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.2763, allocations: 69.5 kB / 426.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.2764, allocations: 7.688 kB / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2764, allocations: 0 / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2764, allocations: 0 / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2764, allocations: 4 kB / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.2765, allocations: 128.8 kB / 426.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2765, allocations: 0 / 426.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.2765, allocations: 3.984 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.2765, allocations: 7.938 kB / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.2765, allocations: 240 / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2765, allocations: 0 / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2765, allocations: 3.938 kB / 426.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.2767, allocations: 89.03 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.301e-05/0.2767, allocations: 11.95 kB / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2767, allocations: 3.938 kB / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.2768, allocations: 8.359 kB / 426.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-06/0.2768, allocations: 0 / 426.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.2768, allocations: 4 kB / 426.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.605e-05/0.2768, allocations: 87.22 kB / 426.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2768, allocations: 0 / 426.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001871/0.277, allocations: 4 kB / 426.5 MB, free: 10.52 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.0005557/0.2776, allocations: 0.6398 MB / 427.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.2777, allocations: 35.91 kB / 427.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2777, allocations: 0 / 427.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2777, allocations: 0 / 427.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.2779, allocations: 27.91 kB / 427.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.2791, allocations: 1.162 MB / 428.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.2794, allocations: 0.6844 MB / 429 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.844e-05/0.2794, allocations: 0 / 429 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.2794, allocations: 19.42 kB / 429 MB, free: 7.793 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2794, allocations: 4 kB / 429 MB, free: 7.789 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03821/0.3176, allocations: 1.418 MB / 430.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.17, allocations: 4 kB / 430.5 MB, free: 6.496 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.653901223999128]