Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.0009004/0.0009004, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009028/0.0009028, 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.9262/0.9262, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.636e-05, allocations: 4.672 kB / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002875/0.002901, allocations: 1.442 MB / 326 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002493/0.003151, allocations: 107.5 kB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.003209, allocations: 0 / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.003235, allocations: 3.938 kB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.323e-05/0.003268, allocations: 3.938 kB / 326.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.00349, allocations: 27.91 kB / 326.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.957e-05/0.003569, allocations: 27.92 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.003664, allocations: 4 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.003709, allocations: 15.98 kB / 326.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.81e-05/0.003738, allocations: 3.938 kB / 326.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.003762, allocations: 11.98 kB / 326.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-06/0.00377, allocations: 4 kB / 326.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.003788, allocations: 7.984 kB / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.00381, allocations: 4 kB / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.635e-05/0.003886, allocations: 27.84 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003888, allocations: 0 / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.003889, allocations: 4 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.003893, allocations: 0 / 326.3 MB, free: 14.11 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.0003156/0.004208, allocations: 258.4 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.004244, allocations: 8.031 kB / 326.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.004276, allocations: 38.73 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.931e-05/0.004296, allocations: 8.938 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.004444, allocations: 125.6 kB / 326.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.004464, allocations: 8.375 kB / 326.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-06/0.004471, allocations: 384 / 326.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.004666, allocations: 95.88 kB / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.004673, allocations: 192 / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.004679, allocations: 4.375 kB / 326.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.004687, allocations: 12.11 kB / 326.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.96e-05/0.004726, allocations: 12 kB / 326.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.922e-05/0.004826, allocations: 128.8 kB / 326.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.004916, allocations: 46.5 kB / 327 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.004949, allocations: 24.91 kB / 327 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.004965, allocations: 3.938 kB / 327 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.004984, allocations: 34.56 kB / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.004985, allocations: 0 / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001485/0.005133, allocations: 69.62 kB / 327.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.005173, allocations: 63.28 kB / 327.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.27e-05/0.005226, allocations: 97.86 kB / 327.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.005234, allocations: 25.7 kB / 327.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.005264, allocations: 96.06 kB / 327.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.005266, allocations: 0 / 327.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/0.005283, allocations: 9.719 kB / 327.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.005354, allocations: 314.8 kB / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.379e-06/0.005359, allocations: 0 / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-06/0.005362, allocations: 0 / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.943e-05/0.005381, allocations: 75.28 kB / 327.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/0.005397, allocations: 79.28 kB / 327.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.033e-05/0.005427, allocations: 33.7 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.005455, allocations: 83.27 kB / 328 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.005474, allocations: 79.22 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.079e-05/0.005514, allocations: 154.6 kB / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.659e-05/0.005531, allocations: 79.22 kB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.399e-05/0.005565, allocations: 154.5 kB / 328.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.005605, allocations: 79.28 kB / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.005621, allocations: 79.22 kB / 328.6 MB, free: 11.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.33e-05/0.005684, allocations: 185.1 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.005738, allocations: 57.67 kB / 328.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.005759, allocations: 11.69 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005761, allocations: 0 / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.005766, allocations: 4.188 kB / 328.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.005768, allocations: 0 / 328.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.053e-05/0.005829, allocations: 132.7 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.005832, allocations: 0 / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.005872, allocations: 4 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.005874, allocations: 0 / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.00588, allocations: 0 / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.005883, allocations: 4 kB / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.005884, allocations: 3.938 kB / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.571e-05/0.00595, allocations: 85.05 kB / 329.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-06/0.005955, allocations: 0 / 329.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-06/0.005963, allocations: 0 / 329.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.005972, allocations: 7.938 kB / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-06/0.005976, allocations: 3.938 kB / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.005979, allocations: 0 / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.535e-05/0.006005, allocations: 87.22 kB / 329.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006005, allocations: 0 / 329.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000135/0.00614, allocations: 4 kB / 329.2 MB, free: 10.91 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0002261/0.006366, allocations: 0.6163 MB / 329.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.645e-05/0.006412, allocations: 12.31 kB / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006414, allocations: 0 / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.006414, allocations: 0 / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.006574, allocations: 19.94 kB / 329.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.007208, allocations: 1.372 MB / 331.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.551e-05/0.007243, allocations: 63.34 kB / 331.2 MB, free: 8.695 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.658e-06/0.007253, allocations: 4 kB / 331.3 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.007283, allocations: 12.5 kB / 331.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007283, allocations: 0 / 331.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.02084, allocations: 1.811 MB / 333.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/7.029, allocations: 14.59 kB / 333.1 MB, free: 6.98 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_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_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep_res.csv: Error: Error opening file: Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 8.865170620381832]