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.0009126/0.0009126, allocations: 76.08 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.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.0009229/0.0009229, allocations: 157 kB / 23.93 MB, free: 0.6289 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.9305/0.9305, 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.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 2.124e-06/2.124e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.047e-05, allocations: 2.281 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001857/0.001877, allocations: 1.426 MB / 319.8 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000168/0.002045, allocations: 27.81 kB / 319.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.002098, allocations: 3.938 kB / 319.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.002128, allocations: 7.922 kB / 319.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.019e-05/0.002158, allocations: 0 / 319.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.002386, allocations: 35.72 kB / 319.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.703e-05/0.002463, allocations: 31.91 kB / 320 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.002554, allocations: 8 kB / 320 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.0026, allocations: 11.98 kB / 320 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.675e-05/0.002637, allocations: 19.92 kB / 320 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.002659, allocations: 4 kB / 320 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.002667, allocations: 3.938 kB / 320 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.002684, allocations: 4 kB / 320 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.002707, allocations: 7.984 kB / 320 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.673e-05/0.002794, allocations: 31.89 kB / 320 MB, free: 4.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002796, allocations: 0 / 320 MB, free: 4.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.002797, allocations: 0 / 320 MB, free: 4.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.0028, allocations: 0 / 320 MB, free: 4.746 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.0003321/0.003132, allocations: 266.3 kB / 320.3 MB, free: 4.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.003175, allocations: 8.922 kB / 320.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.00321, allocations: 50.73 kB / 320.4 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.003237, allocations: 0.9375 kB / 320.4 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.003414, allocations: 125.7 kB / 320.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.003434, allocations: 384 / 320.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.003444, allocations: 4.375 kB / 320.5 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.003698, allocations: 115.8 kB / 320.6 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.003706, allocations: 192 / 320.6 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.003715, allocations: 4.375 kB / 320.6 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.003722, allocations: 4.125 kB / 320.6 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.998e-05/0.003782, allocations: 19.98 kB / 320.6 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.003885, allocations: 124.8 kB / 320.8 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.466e-05/0.00398, allocations: 46.56 kB / 320.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.004023, allocations: 24.92 kB / 320.8 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.004031, allocations: 0 / 320.8 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.004052, allocations: 42.42 kB / 320.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.004054, allocations: 0 / 320.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001853/0.004239, allocations: 69.67 kB / 320.9 MB, free: 3.711 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.004286, allocations: 59.34 kB / 321 MB, free: 3.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.004351, allocations: 109.8 kB / 321.1 MB, free: 3.523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.00436, allocations: 29.7 kB / 321.1 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.004392, allocations: 84.14 kB / 321.2 MB, free: 3.402 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.004403, allocations: 0 / 321.2 MB, free: 3.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.004426, allocations: 13.72 kB / 321.2 MB, free: 3.383 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.004511, allocations: 322.8 kB / 321.5 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.004521, allocations: 4 kB / 321.5 MB, free: 3.055 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.004529, allocations: 3.938 kB / 321.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.666e-05/0.004555, allocations: 8.859 kB / 321.6 MB, free: 3.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.004557, allocations: 4.062 kB / 321.6 MB, free: 3.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.684e-05/0.004604, allocations: 37.7 kB / 321.6 MB, free: 2.992 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.00462, allocations: 4 kB / 321.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.004626, allocations: 3.984 kB / 321.6 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.004639, allocations: 4.188 kB / 321.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.004692, allocations: 3.938 kB / 321.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.004697, allocations: 0 / 321.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-06/0.004705, allocations: 4 kB / 321.6 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.004709, allocations: 3.984 kB / 321.6 MB, free: 2.969 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.692e-05/0.004766, allocations: 109.8 kB / 321.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.004844, allocations: 69.59 kB / 321.8 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.004871, allocations: 11.69 kB / 321.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.004873, allocations: 256 / 321.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.004879, allocations: 3.938 kB / 321.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.004884, allocations: 4 kB / 321.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.786e-05/0.004951, allocations: 128.8 kB / 321.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.004953, allocations: 3.938 kB / 321.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.00497, allocations: 4 kB / 321.9 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.004971, allocations: 0 / 321.9 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.004979, allocations: 3.984 kB / 321.9 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.00498, allocations: 4 kB / 322 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.004982, allocations: 3.938 kB / 322 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.893e-05/0.005081, allocations: 89.05 kB / 322 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.00509, allocations: 7.953 kB / 322.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.005101, allocations: 0 / 322.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.225e-05/0.005113, allocations: 4 kB / 322.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-06/0.005116, allocations: 3.938 kB / 322.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.00512, allocations: 0 / 322.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.878e-05/0.005149, allocations: 87.27 kB / 322.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005149, allocations: 0 / 322.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001172/0.005266, allocations: 4 kB / 322.1 MB, free: 2.355 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: 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.0003222/0.005588, allocations: 0.6359 MB / 322.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.937e-05/0.005667, allocations: 19.98 kB / 322.8 MB, free: 1.668 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.00567, allocations: 4 kB / 322.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.00567, allocations: 0 / 322.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.005837, allocations: 31.84 kB / 322.8 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.006737, allocations: 1.102 MB / 323.9 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.00678, allocations: 71.28 kB / 324 MB, free: 364 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.746e-05/0.006797, allocations: 4.156 kB / 324 MB, free: 360 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.006831, allocations: 8.5 kB / 324 MB, free: 352 kB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006832, allocations: 0 / 324 MB, free: 352 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.02267, allocations: 1.916 MB / 325.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/6.773, allocations: 7.797 kB / 325.9 MB, free: 14.54 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.533946558833122]