Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0007968/0.0007968, allocations: 76.06 kB / 20.67 MB, free: 3.887 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.0007453/0.0007453, allocations: 149.1 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.9388/0.9388, allocations: 173.4 MB / 200.5 MB, free: 9.418 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.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.401e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002329/0.002353, allocations: 1.45 MB / 319.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002148/0.002568, allocations: 31.84 kB / 319.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.002636, allocations: 0 / 319.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.00267, allocations: 3.938 kB / 319.9 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.002712, allocations: 4 kB / 319.9 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.003002, allocations: 31.91 kB / 320 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.853e-05/0.003101, allocations: 27.92 kB / 320 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.003218, allocations: 8 kB / 320 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.635e-05/0.003274, allocations: 19.92 kB / 320 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.00332, allocations: 15.97 kB / 320 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.003344, allocations: 0 / 320 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.003354, allocations: 4 kB / 320 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.003375, allocations: 3.938 kB / 320 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.003408, allocations: 8 kB / 320.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.003515, allocations: 35.88 kB / 320.1 MB, free: 4.695 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.003517, allocations: 4 kB / 320.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.003519, allocations: 3.938 kB / 320.1 MB, free: 4.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.003523, allocations: 0 / 320.1 MB, free: 4.688 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.0003933/0.003917, allocations: 269.5 kB / 320.4 MB, free: 4.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.003963, allocations: 8.922 kB / 320.4 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.004006, allocations: 42.75 kB / 320.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.004032, allocations: 0.9375 kB / 320.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.004225, allocations: 121.7 kB / 320.5 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.004249, allocations: 4.312 kB / 320.5 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.004258, allocations: 4.375 kB / 320.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.004538, allocations: 123.8 kB / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.004546, allocations: 192 / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.004556, allocations: 4.312 kB / 320.7 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.004563, allocations: 4.125 kB / 320.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.004635, allocations: 27.97 kB / 320.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.004755, allocations: 120.8 kB / 320.8 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.004862, allocations: 58.52 kB / 320.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.004911, allocations: 28.88 kB / 320.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.004921, allocations: 4 kB / 320.9 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.004941, allocations: 30.56 kB / 320.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.004942, allocations: 0 / 320.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001905/0.005133, allocations: 81.61 kB / 321 MB, free: 3.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.005182, allocations: 59.34 kB / 321.1 MB, free: 3.559 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/0.005243, allocations: 101.8 kB / 321.2 MB, free: 3.449 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.005254, allocations: 33.64 kB / 321.2 MB, free: 3.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.005287, allocations: 88.12 kB / 321.3 MB, free: 3.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.005298, allocations: 3.938 kB / 321.3 MB, free: 3.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.005324, allocations: 13.72 kB / 321.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.005409, allocations: 314.8 kB / 321.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-06/0.005418, allocations: 4 kB / 321.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-06/0.005425, allocations: 7.984 kB / 321.6 MB, free: 2.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.00545, allocations: 12.86 kB / 321.6 MB, free: 2.953 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005452, allocations: 0 / 321.6 MB, free: 2.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.706e-05/0.005499, allocations: 33.7 kB / 321.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.005512, allocations: 4 kB / 321.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.005517, allocations: 0 / 321.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.00553, allocations: 4 kB / 321.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.005588, allocations: 7.969 kB / 321.7 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.005593, allocations: 4 kB / 321.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.137e-05/0.005605, allocations: 7.953 kB / 321.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.005609, allocations: 192 / 321.7 MB, free: 2.887 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 6.572e-05/0.005674, allocations: 113.8 kB / 321.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.005762, allocations: 65.66 kB / 321.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.005789, allocations: 8 kB / 321.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.005791, allocations: 256 / 321.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.005797, allocations: 7.938 kB / 321.9 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.005802, allocations: 4 kB / 321.9 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.635e-05/0.005868, allocations: 128.8 kB / 322 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005869, allocations: 4 kB / 322 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.005901, allocations: 11.98 kB / 322 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.005903, allocations: 0 / 322 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.005909, allocations: 0 / 322 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.00591, allocations: 0 / 322 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.005913, allocations: 11.86 kB / 322 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.836e-05/0.006011, allocations: 97 kB / 322.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-06/0.006018, allocations: 0 / 322.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.006031, allocations: 3.984 kB / 322.1 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.357e-05/0.006044, allocations: 4 kB / 322.1 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-06/0.006048, allocations: 7.875 kB / 322.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.006052, allocations: 8 kB / 322.2 MB, free: 2.336 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.188e-05/0.006084, allocations: 87.27 kB / 322.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006084, allocations: 0 / 322.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001273/0.006212, allocations: 4 kB / 322.3 MB, free: 2.246 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: 1 (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.0003796/0.006591, allocations: 0.6436 MB / 322.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.566e-05/0.006687, allocations: 19.98 kB / 322.9 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.006689, allocations: 0 / 322.9 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.006689, allocations: 0 / 322.9 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.006921, allocations: 43.95 kB / 323 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007066/0.007627, allocations: 1.11 MB / 324.1 MB, free: 324 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.03e-05/0.007668, allocations: 63.34 kB / 324.1 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.269e-05/0.00769, allocations: 0 / 324.1 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.00773, allocations: 16.5 kB / 324.1 MB, free: 224 kB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007731, allocations: 0 / 324.1 MB, free: 224 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.02513, allocations: 2.005 MB / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.633, allocations: 18.02 kB / 326.2 MB, free: 14.33 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.378437372855842]