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.001377/0.001377, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001396/0.001396, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 7.793 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 43.92 kB / 378.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2559, allocations: 53.35 MB / 431.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002585/0.2584, allocations: 1.487 MB / 433.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001704/0.2586, allocations: 39.78 kB / 433.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.2587, allocations: 4 kB / 433.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.2587, allocations: 3.938 kB / 433.4 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.353e-05/0.2588, allocations: 7.922 kB / 433.4 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.259, allocations: 23.97 kB / 433.4 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.751e-05/0.2591, allocations: 35.86 kB / 433.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.2592, allocations: 11.98 kB / 433.5 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.2592, allocations: 15.94 kB / 433.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.2593, allocations: 19.92 kB / 433.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.2593, allocations: 4 kB / 433.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.2593, allocations: 4 kB / 433.5 MB, free: 5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.2593, allocations: 15.97 kB / 433.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.2594, allocations: 11.94 kB / 433.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.921e-05/0.2595, allocations: 41.92 kB / 433.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2595, allocations: 0 / 433.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2595, allocations: 0 / 433.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2595, allocations: 0 / 433.6 MB, free: 4.934 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.000483/0.26, allocations: 281 kB / 433.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.26, allocations: 12.03 kB / 433.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.091e-05/0.26, allocations: 192 / 433.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.2601, allocations: 34.75 kB / 433.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.2601, allocations: 8.891 kB / 433.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.2603, allocations: 134.3 kB / 434 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2603, allocations: 384 / 434 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.2603, allocations: 8.375 kB / 434 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005671/0.2609, allocations: 159.5 kB / 434.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2609, allocations: 3.938 kB / 434.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2609, allocations: 0 / 434.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2609, allocations: 0 / 434.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.2611, allocations: 55.92 kB / 434.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.2613, allocations: 128.8 kB / 434.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.2616, allocations: 74.52 kB / 434.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.2617, allocations: 40.84 kB / 434.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.2618, allocations: 0 / 434.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2618, allocations: 42.44 kB / 434.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2618, allocations: 0 / 434.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004695/0.2623, allocations: 113.6 kB / 434.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.2623, allocations: 55.41 kB / 434.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.2624, allocations: 105.8 kB / 434.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.2624, allocations: 29.7 kB / 434.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.2625, allocations: 88.14 kB / 434.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.2625, allocations: 3.953 kB / 434.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.2625, allocations: 21.64 kB / 434.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2627, allocations: 318.8 kB / 435.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.2627, allocations: 0 / 435.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.909e-05/0.2627, allocations: 39.36 kB / 435.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.652e-05/0.2628, allocations: 31.56 kB / 435.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2628, allocations: 8 kB / 435.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.611e-05/0.2629, allocations: 65.56 kB / 435.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2629, allocations: 7.938 kB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2629, allocations: 0 / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2629, allocations: 4 kB / 435.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.2629, allocations: 8 kB / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.263, allocations: 0 / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.263, allocations: 0 / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.263, allocations: 4 kB / 435.4 MB, free: 2.863 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 8.569e-05/0.2631, allocations: 121.9 kB / 435.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.2633, allocations: 93.52 kB / 435.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.2634, allocations: 8 kB / 435.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2634, allocations: 0 / 435.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2634, allocations: 4 kB / 435.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.2634, allocations: 0 / 435.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.564e-05/0.2635, allocations: 128.7 kB / 435.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2635, allocations: 0 / 435.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.194e-05/0.2636, allocations: 15.97 kB / 435.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.2636, allocations: 7.938 kB / 435.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.2636, allocations: 4 kB / 435.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2636, allocations: 0 / 435.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2636, allocations: 0 / 435.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.2639, allocations: 121.2 kB / 435.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.2639, allocations: 3.938 kB / 435.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.2639, allocations: 4 kB / 435.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.264, allocations: 8.031 kB / 435.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-06/0.264, allocations: 3.984 kB / 435.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.264, allocations: 0 / 435.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.205e-05/0.264, allocations: 95.56 kB / 436 MB, free: 2.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.264, allocations: 0 / 436 MB, free: 2.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001801/0.2642, allocations: 8 kB / 436 MB, free: 2.164 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.0007766/0.265, allocations: 0.6826 MB / 436.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.2652, allocations: 39.97 kB / 436.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2652, allocations: 0 / 436.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.9e-07/0.2652, allocations: 0 / 436.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.2655, allocations: 51.86 kB / 436.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2666, allocations: 1.197 MB / 438 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.648e-05/0.2667, allocations: 63.34 kB / 438.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.309e-05/0.2667, allocations: 4 kB / 438.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.2667, allocations: 19.36 kB / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2667, allocations: 0 / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.2881, allocations: 1.7 MB / 439.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.72, allocations: 3.938 kB / 439.8 MB, free: 14.41 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: 13.105859050992876]