Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.0009495/0.0009495, allocations: 88.05 kB / 20.67 MB, free: 3.871 MB / 18.57 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.0009496/0.0009496, allocations: 145.1 kB / 23.93 MB, free: 0.6172 MB / 18.57 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 0.9271/0.9271, allocations: 173.4 MB / 200.5 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 318.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.206e-05, allocations: 6.219 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002087/0.002109, allocations: 1.426 MB / 319.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.00237, allocations: 99.61 kB / 319.9 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.002439, allocations: 11.88 kB / 320 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.002467, allocations: 0 / 320 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.249e-05/0.002499, allocations: 3.938 kB / 320 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.002727, allocations: 26.84 kB / 320 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.002806, allocations: 19.92 kB / 320 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.002906, allocations: 12 kB / 320 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.235e-05/0.002948, allocations: 19.86 kB / 320 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.817e-05/0.002976, allocations: 11.97 kB / 320.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.003001, allocations: 4 kB / 320.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.00301, allocations: 0 / 320.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.003037, allocations: 7.938 kB / 320.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.003064, allocations: 8 kB / 320.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.8e-05/0.003152, allocations: 27.91 kB / 320.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003154, allocations: 0 / 320.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.003155, allocations: 0 / 320.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.003159, allocations: 0 / 320.1 MB, free: 4.691 MB / 282.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.0003414/0.0035, allocations: 258.4 kB / 320.4 MB, free: 4.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.003541, allocations: 8.922 kB / 320.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.003575, allocations: 46.73 kB / 320.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.937e-05/0.003595, allocations: 4.875 kB / 320.4 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.003768, allocations: 129.7 kB / 320.5 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.003788, allocations: 384 / 320.5 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.003797, allocations: 4.375 kB / 320.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.004039, allocations: 99.88 kB / 320.6 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.004047, allocations: 4.125 kB / 320.6 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.004059, allocations: 8.359 kB / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.004066, allocations: 4.125 kB / 320.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.371e-05/0.004109, allocations: 8 kB / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.004221, allocations: 128.8 kB / 320.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.004339, allocations: 46.59 kB / 320.8 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.004376, allocations: 20.89 kB / 320.9 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.004393, allocations: 0 / 320.9 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.004415, allocations: 34.56 kB / 320.9 MB, free: 3.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.004416, allocations: 3.938 kB / 320.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001611/0.004577, allocations: 65.67 kB / 321 MB, free: 3.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.004621, allocations: 55.34 kB / 321 MB, free: 3.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.004689, allocations: 109.8 kB / 321.1 MB, free: 3.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.004701, allocations: 29.7 kB / 321.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.004735, allocations: 80.14 kB / 321.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.004737, allocations: 0 / 321.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.004758, allocations: 13.72 kB / 321.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.004851, allocations: 314.8 kB / 321.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-06/0.004858, allocations: 8 kB / 321.6 MB, free: 3.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-06/0.004861, allocations: 0 / 321.6 MB, free: 3.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.004887, allocations: 75.28 kB / 321.6 MB, free: 2.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.059e-05/0.004907, allocations: 83.22 kB / 321.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.889e-05/0.004946, allocations: 29.69 kB / 321.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.004982, allocations: 83.28 kB / 321.8 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.005007, allocations: 75.28 kB / 321.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.636e-05/0.005063, allocations: 154.5 kB / 322 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.303e-05/0.005086, allocations: 83.22 kB / 322.1 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-05/0.005129, allocations: 154.5 kB / 322.3 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.005176, allocations: 79.28 kB / 322.4 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.005196, allocations: 79.28 kB / 322.4 MB, free: 2.152 MB / 282.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 8.348e-05/0.00528, allocations: 193 kB / 322.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.00535, allocations: 53.62 kB / 322.7 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.005378, allocations: 7.688 kB / 322.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.00538, allocations: 0 / 322.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.005387, allocations: 3.938 kB / 322.7 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.005392, allocations: 4.25 kB / 322.7 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.679e-05/0.005459, allocations: 120.8 kB / 322.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.005464, allocations: 8 kB / 322.8 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.005513, allocations: 4 kB / 322.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.005517, allocations: 0 / 322.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.005523, allocations: 0 / 322.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.005528, allocations: 4 kB / 322.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.005529, allocations: 3.938 kB / 322.8 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.674e-05/0.005616, allocations: 89.22 kB / 322.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-06/0.005624, allocations: 4 kB / 322.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.005634, allocations: 0 / 322.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-06/0.005642, allocations: 0 / 322.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-06/0.005647, allocations: 3.938 kB / 322.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.005654, allocations: 4 kB / 322.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.446e-05/0.005689, allocations: 87.28 kB / 323 MB, free: 1.492 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005689, allocations: 0 / 323 MB, free: 1.492 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.005836, allocations: 3.984 kB / 323 MB, free: 1.488 MB / 282.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.0003077/0.006144, allocations: 0.6086 MB / 323.6 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.878e-05/0.006213, allocations: 19.92 kB / 323.6 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.006215, allocations: 0 / 323.6 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.006216, allocations: 0 / 323.6 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.006425, allocations: 23.48 kB / 323.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/0.007237, allocations: 1.36 MB / 325 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.007276, allocations: 67.28 kB / 325.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.958e-06/0.007286, allocations: 0 / 325.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.007319, allocations: 16.5 kB / 325.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.00732, allocations: 0 / 325.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.02051, allocations: 1.814 MB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.716/6.736, allocations: 15.72 kB / 326.9 MB, free: 13.55 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.430282291956246]