Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008053/0.0008053, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008101/0.0008101, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8845/0.8845, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.239e-05, allocations: 2.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.00201/0.002033, allocations: 1.479 MB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000201/0.002234, allocations: 31.91 kB / 326 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.23e-05/0.002306, allocations: 7.938 kB / 326 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.002334, allocations: 0 / 326 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.002375, allocations: 3.938 kB / 326 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.002634, allocations: 23.97 kB / 326.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.745e-05/0.002721, allocations: 35.91 kB / 326.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.002823, allocations: 4 kB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.002876, allocations: 19.92 kB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.002915, allocations: 7.984 kB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.00294, allocations: 4 kB / 326.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-06/0.002947, allocations: 0 / 326.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.002965, allocations: 12 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.002997, allocations: 15.92 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.38e-05/0.003091, allocations: 27.83 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.003096, allocations: 4 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.003097, allocations: 4 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.003101, allocations: 0 / 326.2 MB, free: 14.18 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.0003367/0.003438, allocations: 270.2 kB / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.003478, allocations: 11.98 kB / 326.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.003508, allocations: 34.75 kB / 326.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/0.00353, allocations: 8.891 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.003711, allocations: 117.8 kB / 326.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.00373, allocations: 4.375 kB / 326.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.003739, allocations: 4.375 kB / 326.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.003982, allocations: 123.8 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.003989, allocations: 192 / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.003997, allocations: 384 / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.004003, allocations: 8.125 kB / 326.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.004072, allocations: 31.89 kB / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.901e-05/0.004171, allocations: 124.7 kB / 326.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.004275, allocations: 54.55 kB / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.004328, allocations: 24.92 kB / 327 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.004338, allocations: 3.984 kB / 327 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.004358, allocations: 38.56 kB / 327 MB, free: 13.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.004359, allocations: 0 / 327 MB, free: 13.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001815/0.004541, allocations: 77.59 kB / 327.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.004585, allocations: 59.34 kB / 327.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.608e-05/0.004641, allocations: 113.8 kB / 327.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.004651, allocations: 25.7 kB / 327.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.004681, allocations: 84.14 kB / 327.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/0.004691, allocations: 8 kB / 327.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.004713, allocations: 9.719 kB / 327.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.004782, allocations: 314.8 kB / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.004791, allocations: 4 kB / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-06/0.004798, allocations: 11.92 kB / 327.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.147e-05/0.00482, allocations: 8.797 kB / 327.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.004822, allocations: 0 / 327.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.295e-05/0.004865, allocations: 45.66 kB / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.004881, allocations: 7.375 kB / 327.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.004886, allocations: 4 kB / 327.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.004899, allocations: 0 / 327.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.004951, allocations: 7.938 kB / 327.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.004956, allocations: 0 / 327.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.005e-05/0.004966, allocations: 0 / 327.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.00497, allocations: 0 / 327.8 MB, free: 12.37 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: 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.354e-05/0.005034, allocations: 117.8 kB / 327.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.024e-05/0.005124, allocations: 65.61 kB / 328 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/0.005146, allocations: 8 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.005148, allocations: 0 / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.005153, allocations: 7.938 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.005156, allocations: 0 / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.221e-05/0.005218, allocations: 128.8 kB / 328.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005219, allocations: 0 / 328.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.00525, allocations: 11.98 kB / 328.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.005253, allocations: 0 / 328.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.005259, allocations: 4 kB / 328.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.00526, allocations: 0 / 328.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.005262, allocations: 3.938 kB / 328.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.595e-05/0.005358, allocations: 93.23 kB / 328.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.005365, allocations: 4 kB / 328.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.005378, allocations: 7.984 kB / 328.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.005393, allocations: 4.297 kB / 328.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-06/0.005397, allocations: 7.922 kB / 328.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.005402, allocations: 4 kB / 328.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.908e-05/0.005431, allocations: 87.27 kB / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005431, allocations: 0 / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001226/0.005554, allocations: 7.938 kB / 328.4 MB, free: 11.74 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: 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.0003427/0.005897, allocations: 0.6359 MB / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.057e-05/0.005987, allocations: 27.98 kB / 329 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005989, allocations: 8 kB / 329 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.005989, allocations: 0 / 329 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.006217, allocations: 31.94 kB / 329.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.006862, allocations: 1.106 MB / 330.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.777e-05/0.0069, allocations: 71.28 kB / 330.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.218e-05/0.006922, allocations: 0 / 330.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.006962, allocations: 12.5 kB / 330.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.006963, allocations: 0 / 330.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.02417, allocations: 2.006 MB / 332.3 MB, free: 7.809 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/6.759, allocations: 6.859 kB / 332.3 MB, free: 7.805 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:time,assignClock1.u,assignClock1.y,step.y,periodicClock1.period,step.height [Calling sys.exit(0), Time elapsed: 8.508674316108227]