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.001761/0.001761, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002441/0.002441, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.448/1.448, 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.001499/0.001499, allocations: 51.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2709, allocations: 53.37 MB / 431.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002972/0.2739, allocations: 1.44 MB / 432.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000211/0.2741, allocations: 39.84 kB / 432.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.2742, allocations: 0 / 432.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.2742, allocations: 0 / 432.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.018e-05/0.2742, allocations: 3.938 kB / 432.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.2745, allocations: 15.98 kB / 432.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.073e-05/0.2745, allocations: 39.84 kB / 432.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.353e-05/0.2746, allocations: 3.797 kB / 432.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.2747, allocations: 19.92 kB / 432.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.027e-05/0.2747, allocations: 11.92 kB / 432.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.2747, allocations: 8 kB / 432.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.2747, allocations: 4 kB / 432.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.2748, allocations: 4 kB / 432.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.2748, allocations: 15.92 kB / 432.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.935e-05/0.2749, allocations: 19.91 kB / 432.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2749, allocations: 0 / 432.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2749, allocations: 4 kB / 432.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2749, allocations: 0 / 432.7 MB, free: 5.145 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.0004247/0.2753, allocations: 268.4 kB / 433 MB, free: 4.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.2754, allocations: 12.03 kB / 433 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.2754, allocations: 34.69 kB / 433 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.176e-05/0.2754, allocations: 4.938 kB / 433 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.2757, allocations: 122.5 kB / 433.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.2757, allocations: 384 / 433.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.2757, allocations: 4.375 kB / 433.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.276, allocations: 119.8 kB / 433.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.276, allocations: 3.938 kB / 433.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.276, allocations: 0 / 433.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.276, allocations: 0 / 433.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.839e-05/0.2761, allocations: 27.92 kB / 433.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.2763, allocations: 128.7 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.2765, allocations: 46.56 kB / 433.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.965e-05/0.2765, allocations: 24.92 kB / 433.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2765, allocations: 0 / 433.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2766, allocations: 34.56 kB / 433.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2766, allocations: 0 / 433.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002663/0.2768, allocations: 85.47 kB / 433.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.2769, allocations: 59.41 kB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.066e-05/0.277, allocations: 105.8 kB / 433.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.277, allocations: 29.7 kB / 433.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.2771, allocations: 80.14 kB / 433.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.2771, allocations: 0 / 433.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.2771, allocations: 17.72 kB / 433.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2773, allocations: 322.8 kB / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.2773, allocations: 4 kB / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.2773, allocations: 27.44 kB / 434.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.2774, allocations: 43.67 kB / 434.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2774, allocations: 7.938 kB / 434.3 MB, free: 3.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.845e-05/0.2775, allocations: 61.53 kB / 434.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2775, allocations: 11.92 kB / 434.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2775, allocations: 8 kB / 434.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2775, allocations: 0 / 434.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.2776, allocations: 8 kB / 434.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2776, allocations: 0 / 434.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/0.2776, allocations: 4 kB / 434.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.2776, allocations: 128 / 434.4 MB, free: 3.25 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.023e-05/0.2777, allocations: 113.8 kB / 434.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.2779, allocations: 69.55 kB / 434.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.2779, allocations: 7.688 kB / 434.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2779, allocations: 4 kB / 434.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2779, allocations: 0 / 434.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2779, allocations: 0 / 434.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.702e-05/0.278, allocations: 120.8 kB / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.278, allocations: 0 / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.278, allocations: 4 kB / 434.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.278, allocations: 11.92 kB / 434.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.278, allocations: 4 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.278, allocations: 0 / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.278, allocations: 0 / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.2782, allocations: 89.06 kB / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-06/0.2782, allocations: 0 / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.2782, allocations: 11.88 kB / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.514e-05/0.2783, allocations: 0 / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-06/0.2783, allocations: 0 / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.2783, allocations: 7.984 kB / 434.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.392e-05/0.2783, allocations: 83.28 kB / 434.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2783, allocations: 0 / 434.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.2785, allocations: 8 kB / 434.9 MB, free: 2.645 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.0005451/0.2791, allocations: 0.6475 MB / 435.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.2792, allocations: 31.92 kB / 435.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2792, allocations: 0 / 435.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.2792, allocations: 0 / 435.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.2794, allocations: 27 kB / 435.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.2806, allocations: 1.17 MB / 436.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.884e-05/0.2806, allocations: 71.33 kB / 436.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.455e-05/0.2806, allocations: 0 / 436.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.2807, allocations: 7.438 kB / 436.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2807, allocations: 0 / 436.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.3091, allocations: 1.843 MB / 438.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.02, allocations: 6.859 kB / 438.7 MB, free: 14.83 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.533261240983848]