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.001827/0.001827, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002183/0.002183, allocations: 194 kB / 23.71 MB, free: 4.406 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.455/1.455, allocations: 225.7 MB / 252.5 MB, free: 12.81 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.001547/0.001547, allocations: 43.94 kB / 370.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2556, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002793/0.2584, allocations: 1.439 MB / 424 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001841/0.2586, allocations: 23.92 kB / 424 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.2586, allocations: 7.938 kB / 424 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.2587, allocations: 0 / 424 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.065e-05/0.2587, allocations: 7.875 kB / 424 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.2589, allocations: 23.97 kB / 424.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.356e-05/0.259, allocations: 27.92 kB / 424.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.2591, allocations: 11.78 kB / 424.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.2591, allocations: 15.92 kB / 424.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.2592, allocations: 11.92 kB / 424.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.2592, allocations: 8 kB / 424.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.2592, allocations: 4 kB / 424.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.2592, allocations: 4 kB / 424.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.2593, allocations: 11.94 kB / 424.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.991e-05/0.2593, allocations: 27.88 kB / 424.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2594, allocations: 0 / 424.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2594, allocations: 0 / 424.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.2594, allocations: 4 kB / 424.2 MB, free: 12.76 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.0004285/0.2598, allocations: 264.1 kB / 424.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2598, allocations: 8.031 kB / 424.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.2599, allocations: 42.73 kB / 424.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.2599, allocations: 0.9375 kB / 424.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.2601, allocations: 130.3 kB / 424.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.2601, allocations: 4.359 kB / 424.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.2602, allocations: 8.375 kB / 424.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.2605, allocations: 111.9 kB / 424.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.2605, allocations: 3.938 kB / 424.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2605, allocations: 0 / 424.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2605, allocations: 4 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.224e-05/0.2606, allocations: 15.98 kB / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.2607, allocations: 124.8 kB / 424.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.2609, allocations: 50.5 kB / 424.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.261, allocations: 24.92 kB / 425 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.261, allocations: 0 / 425 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.261, allocations: 38.55 kB / 425 MB, free: 11.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/0.261, allocations: 3.984 kB / 425 MB, free: 11.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002453/0.2612, allocations: 77.55 kB / 425.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.2613, allocations: 55.41 kB / 425.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.2614, allocations: 113.8 kB / 425.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.2614, allocations: 25.7 kB / 425.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.2615, allocations: 80.14 kB / 425.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.2615, allocations: 7.953 kB / 425.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.2615, allocations: 13.72 kB / 425.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2617, allocations: 322.8 kB / 425.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.2617, allocations: 4 kB / 425.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.2617, allocations: 31.38 kB / 425.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.706e-05/0.2618, allocations: 43.36 kB / 425.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2618, allocations: 0 / 425.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.716e-05/0.2619, allocations: 61.62 kB / 425.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2619, allocations: 7.938 kB / 425.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.2619, allocations: 4 kB / 425.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2619, allocations: 0 / 425.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/0.262, allocations: 7.938 kB / 425.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.262, allocations: 3.938 kB / 425.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.262, allocations: 4.125 kB / 425.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.262, allocations: 4 kB / 425.9 MB, free: 10.87 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.072e-05/0.2621, allocations: 113.8 kB / 426 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.2622, allocations: 65.56 kB / 426 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.2623, allocations: 7.688 kB / 426 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2623, allocations: 4 kB / 426 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2623, allocations: 3.938 kB / 426 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2623, allocations: 0 / 426 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.873e-05/0.2624, allocations: 124.8 kB / 426.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2624, allocations: 0 / 426.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.2624, allocations: 11.98 kB / 426.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2624, allocations: 3.938 kB / 426.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2624, allocations: 0 / 426.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2624, allocations: 0 / 426.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2624, allocations: 0 / 426.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.2626, allocations: 85.11 kB / 426.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.2626, allocations: 3.953 kB / 426.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.2626, allocations: 8.312 kB / 426.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.692e-05/0.2627, allocations: 3.984 kB / 426.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-06/0.2627, allocations: 4 kB / 426.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.2627, allocations: 4 kB / 426.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.04e-05/0.2627, allocations: 87.28 kB / 426.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2627, allocations: 0 / 426.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001828/0.2629, allocations: 7.938 kB / 426.4 MB, free: 10.26 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.0005848/0.2635, allocations: 0.6359 MB / 427 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.2636, allocations: 28.25 kB / 427 MB, free: 9.562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.2636, allocations: 4 kB / 427.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.2636, allocations: 3.938 kB / 427.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.2638, allocations: 24.28 kB / 427.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.2649, allocations: 1.178 MB / 428.3 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.739e-05/0.265, allocations: 67.2 kB / 428.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.421e-05/0.265, allocations: 4 kB / 428.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.2651, allocations: 15.42 kB / 428.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2651, allocations: 0 / 428.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.2933, allocations: 1.806 MB / 430.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.15, allocations: 4.062 kB / 430.2 MB, free: 6.469 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.782809399068356]