Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001324/0.001324, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 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.001387/0.001387, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 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 1.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 47.92 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2389, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002586/0.2415, allocations: 1.485 MB / 433.4 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001643/0.2417, allocations: 31.84 kB / 433.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.2417, allocations: 0 / 433.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.2417, allocations: 7.938 kB / 433.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.789e-05/0.2418, allocations: 7.938 kB / 433.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.242, allocations: 23.97 kB / 433.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.278e-05/0.2421, allocations: 23.92 kB / 433.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.2422, allocations: 11.98 kB / 433.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.2422, allocations: 11.94 kB / 433.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.2422, allocations: 19.91 kB / 433.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.2422, allocations: 4 kB / 433.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.2423, allocations: 4 kB / 433.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.2423, allocations: 7.938 kB / 433.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.2423, allocations: 15.88 kB / 433.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.377e-05/0.2424, allocations: 29.56 kB / 433.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2424, allocations: 4 kB / 433.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2424, allocations: 4 kB / 433.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2424, allocations: 0 / 433.6 MB, free: 5.191 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.0003849/0.2428, allocations: 266.3 kB / 433.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2428, allocations: 12.02 kB / 433.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.501e-05/0.2428, allocations: 4.125 kB / 433.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.2429, allocations: 34.75 kB / 433.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.2429, allocations: 8.891 kB / 433.9 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.2431, allocations: 126.4 kB / 434.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2431, allocations: 384 / 434.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2431, allocations: 8.375 kB / 434.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.2434, allocations: 115.6 kB / 434.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.2434, allocations: 0 / 434.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.2434, allocations: 0 / 434.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2434, allocations: 4 kB / 434.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.2435, allocations: 23.97 kB / 434.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.2437, allocations: 132.7 kB / 434.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.2438, allocations: 58.48 kB / 434.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.465e-05/0.2439, allocations: 24.92 kB / 434.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.2439, allocations: 0 / 434.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.2439, allocations: 34.5 kB / 434.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2439, allocations: 8 kB / 434.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000251/0.2442, allocations: 81.59 kB / 434.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.2442, allocations: 59.34 kB / 434.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.123e-05/0.2443, allocations: 105.8 kB / 434.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.2443, allocations: 25.7 kB / 434.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.2444, allocations: 84.14 kB / 434.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.2444, allocations: 0 / 434.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.2444, allocations: 17.72 kB / 434.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2445, allocations: 322.8 kB / 435.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.2445, allocations: 4 kB / 435.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.2446, allocations: 27.81 kB / 435.2 MB, free: 3.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.382e-05/0.2446, allocations: 51.36 kB / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2446, allocations: 0 / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.572e-05/0.2447, allocations: 57.58 kB / 435.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2447, allocations: 15.88 kB / 435.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2447, allocations: 0 / 435.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2447, allocations: 0 / 435.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.2448, allocations: 11.94 kB / 435.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2448, allocations: 4 kB / 435.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.2448, allocations: 8.062 kB / 435.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-06/0.2448, allocations: 0 / 435.3 MB, free: 3.266 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: 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 (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 7.601e-05/0.2449, allocations: 113.8 kB / 435.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.2451, allocations: 69.61 kB / 435.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.2451, allocations: 7.984 kB / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2451, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2451, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.2451, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.08e-05/0.2452, allocations: 128.7 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2452, allocations: 4 kB / 435.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.2452, allocations: 19.92 kB / 435.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2452, allocations: 3.938 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2452, allocations: 0 / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2452, allocations: 0 / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2452, allocations: 0 / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.2454, allocations: 93.09 kB / 435.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.2454, allocations: 7.938 kB / 435.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.2454, allocations: 0 / 435.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.115e-05/0.2455, allocations: 8 kB / 435.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-06/0.2455, allocations: 0 / 435.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.2455, allocations: 0 / 435.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.329e-05/0.2455, allocations: 91.27 kB / 435.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2455, allocations: 0 / 435.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001772/0.2457, allocations: 4 kB / 435.9 MB, free: 2.641 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: 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.0005847/0.2463, allocations: 0.6553 MB / 436.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.2464, allocations: 31.92 kB / 436.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2464, allocations: 0 / 436.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2464, allocations: 3.938 kB / 436.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.2467, allocations: 24.34 kB / 436.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.2478, allocations: 1.178 MB / 437.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.2481, allocations: 0.6884 MB / 438.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.312e-05/0.2482, allocations: 3.984 kB / 438.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.2482, allocations: 15.44 kB / 438.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2482, allocations: 0 / 438.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.2683, allocations: 1.537 MB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.69, allocations: 10.72 kB / 440 MB, free: 14.5 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.068227390001994]