Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.001271/0.001271, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001379/0.001379, allocations: 212.2 kB / 23.73 MB, free: 4.523 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.383/1.383, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.TickBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 43.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2608, allocations: 53.35 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002862/0.2636, allocations: 1.487 MB / 432.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002159/0.2639, allocations: 35.84 kB / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.2639, allocations: 0 / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.264, allocations: 3.938 kB / 432.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.016e-05/0.264, allocations: 7.938 kB / 432.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.2643, allocations: 23.97 kB / 432.6 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.2644, allocations: 43.84 kB / 432.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2645, allocations: 11.98 kB / 432.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.747e-05/0.2645, allocations: 15.92 kB / 432.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.2646, allocations: 23.92 kB / 432.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.2646, allocations: 0 / 432.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2646, allocations: 4 kB / 432.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.2647, allocations: 11.94 kB / 432.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.2647, allocations: 15.92 kB / 432.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.2648, allocations: 41.5 kB / 432.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2648, allocations: 4 kB / 432.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2648, allocations: 0 / 432.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2648, allocations: 0 / 432.8 MB, free: 4.906 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.0005316/0.2653, allocations: 278.3 kB / 433.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2654, allocations: 8.031 kB / 433.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.2654, allocations: 38.73 kB / 433.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.2655, allocations: 8.891 kB / 433.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.2657, allocations: 130.4 kB / 433.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.2657, allocations: 384 / 433.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.2657, allocations: 4.375 kB / 433.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005925/0.2663, allocations: 159.8 kB / 433.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2663, allocations: 3.938 kB / 433.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.2663, allocations: 0 / 433.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2663, allocations: 3.984 kB / 433.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.2666, allocations: 51.88 kB / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.2667, allocations: 124.8 kB / 433.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.2671, allocations: 86.48 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2672, allocations: 36.91 kB / 433.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.2672, allocations: 8 kB / 433.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.2673, allocations: 30.56 kB / 433.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2673, allocations: 0 / 433.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004976/0.2678, allocations: 121.4 kB / 433.9 MB, free: 3.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.2678, allocations: 55.39 kB / 433.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.2679, allocations: 109.9 kB / 434 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.2679, allocations: 25.7 kB / 434.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.268, allocations: 84.12 kB / 434.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.268, allocations: 7.953 kB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.268, allocations: 13.72 kB / 434.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2682, allocations: 322.8 kB / 434.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.2682, allocations: 7.984 kB / 434.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.328e-05/0.2682, allocations: 27.44 kB / 434.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.749e-05/0.2683, allocations: 35.38 kB / 434.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2683, allocations: 0 / 434.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.825e-05/0.2684, allocations: 65.56 kB / 434.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2684, allocations: 12.06 kB / 434.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2684, allocations: 4.312 kB / 434.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2684, allocations: 0 / 434.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.2685, allocations: 11.98 kB / 434.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2685, allocations: 0 / 434.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.2685, allocations: 7.938 kB / 434.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.2685, allocations: 3.984 kB / 434.7 MB, free: 2.832 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.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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 0.0001044/0.2686, allocations: 113.8 kB / 434.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.2689, allocations: 93.47 kB / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.2689, allocations: 7.984 kB / 434.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2689, allocations: 8 kB / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2689, allocations: 0 / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2689, allocations: 0 / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.2691, allocations: 124.8 kB / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2691, allocations: 0 / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.2692, allocations: 16.11 kB / 435 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2692, allocations: 3.938 kB / 435 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2692, allocations: 11.94 kB / 435 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2692, allocations: 0 / 435 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2692, allocations: 0 / 435 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.2695, allocations: 117.2 kB / 435.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.2696, allocations: 16.03 kB / 435.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.2696, allocations: 3.938 kB / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.2697, allocations: 7.984 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-06/0.2697, allocations: 0 / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.2697, allocations: 7.984 kB / 435.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.671e-05/0.2697, allocations: 83.28 kB / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2697, allocations: 0 / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001842/0.2699, allocations: 4 kB / 435.3 MB, free: 2.141 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 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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.0008482/0.2708, allocations: 0.6826 MB / 435.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.271, allocations: 51.95 kB / 436 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.271, allocations: 0 / 436 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-07/0.271, allocations: 0 / 436 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2714, allocations: 35.94 kB / 436 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.2726, allocations: 1.193 MB / 437.2 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.05e-05/0.2727, allocations: 67.33 kB / 437.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.41e-05/0.2727, allocations: 256 / 437.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.2728, allocations: 19.44 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2728, allocations: 0 / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.2994, allocations: 2.066 MB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.58, allocations: 7.922 kB / 439.4 MB, free: 14.01 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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: 12.921568046993343]