Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.001238/0.001238, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.00143/0.00143, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 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 1.359/1.359, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 47.92 kB / 371.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2521, allocations: 52.19 MB / 423.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002713/0.2548, allocations: 1.474 MB / 424.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001833/0.255, allocations: 39.84 kB / 424.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.2551, allocations: 0 / 424.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.2551, allocations: 11.92 kB / 425 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.649e-05/0.2551, allocations: 0 / 425 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.2554, allocations: 23.92 kB / 425 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.26e-05/0.2555, allocations: 39.91 kB / 425 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.315e-05/0.2555, allocations: 11.98 kB / 425 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.2556, allocations: 11.94 kB / 425 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.352e-05/0.2556, allocations: 15.92 kB / 425.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2557, allocations: 4 kB / 425.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.2557, allocations: 4 kB / 425.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.2557, allocations: 15.92 kB / 425.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.2557, allocations: 15.92 kB / 425.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.483e-05/0.2558, allocations: 41 kB / 425.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2558, allocations: 3.938 kB / 425.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2558, allocations: 4 kB / 425.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2558, allocations: 0 / 425.1 MB, free: 12.86 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.0004849/0.2563, allocations: 281.9 kB / 425.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2564, allocations: 8.031 kB / 425.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.132e-05/0.2564, allocations: 192 / 425.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.2564, allocations: 34.75 kB / 425.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.194e-05/0.2564, allocations: 4.938 kB / 425.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.2566, allocations: 130.4 kB / 425.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2566, allocations: 384 / 425.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2567, allocations: 4.375 kB / 425.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.2572, allocations: 171.5 kB / 425.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2572, allocations: 0 / 425.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.2572, allocations: 0 / 425.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2572, allocations: 4 kB / 425.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.2575, allocations: 47.88 kB / 425.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.2576, allocations: 136.7 kB / 425.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.258, allocations: 78.52 kB / 426 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.2581, allocations: 36.89 kB / 426.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.2581, allocations: 0 / 426.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.2581, allocations: 46.48 kB / 426.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2581, allocations: 0 / 426.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004932/0.2586, allocations: 117.5 kB / 426.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.2587, allocations: 59.34 kB / 426.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.2588, allocations: 105.8 kB / 426.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2588, allocations: 25.7 kB / 426.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.2589, allocations: 84.14 kB / 426.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.2589, allocations: 4 kB / 426.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.2589, allocations: 25.7 kB / 426.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.259, allocations: 310.8 kB / 426.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.2591, allocations: 8 kB / 426.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/0.2591, allocations: 27.42 kB / 426.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.045e-05/0.2591, allocations: 39.38 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2591, allocations: 0 / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001008/0.2592, allocations: 69.52 kB / 427 MB, free: 10.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2593, allocations: 7.938 kB / 427 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2593, allocations: 4.125 kB / 427 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2593, allocations: 0 / 427 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.2593, allocations: 12 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2593, allocations: 4.125 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.2594, allocations: 0 / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2594, allocations: 4 kB / 427 MB, free: 10.79 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.621e-05/0.2595, allocations: 117.8 kB / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.2598, allocations: 89.52 kB / 427.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.2598, allocations: 8 kB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2598, allocations: 0 / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2598, allocations: 0 / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2598, allocations: 4 kB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.2599, allocations: 136.7 kB / 427.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2599, allocations: 0 / 427.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.445e-05/0.26, allocations: 15.97 kB / 427.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.26, allocations: 7.938 kB / 427.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.26, allocations: 0 / 427.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.26, allocations: 3.938 kB / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.26, allocations: 3.938 kB / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.2603, allocations: 117 kB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.2603, allocations: 7.891 kB / 427.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.2603, allocations: 4 kB / 427.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.2604, allocations: 15.98 kB / 427.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-06/0.2604, allocations: 0 / 427.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.2604, allocations: 0 / 427.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.942e-05/0.2605, allocations: 83.58 kB / 427.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2605, allocations: 4 kB / 427.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001853/0.2607, allocations: 8 kB / 427.6 MB, free: 10.09 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.0008009/0.2615, allocations: 0.6791 MB / 428.3 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.2617, allocations: 43.94 kB / 428.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2617, allocations: 0 / 428.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.2617, allocations: 0 / 428.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.2621, allocations: 47.91 kB / 428.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.2634, allocations: 1.197 MB / 429.6 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.2637, allocations: 0.6844 MB / 430.3 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.573e-05/0.2637, allocations: 0 / 430.3 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.2638, allocations: 19.42 kB / 430.3 MB, free: 7.266 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2638, allocations: 4 kB / 430.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2848, allocations: 1.646 MB / 431.9 MB, free: 5.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.85, allocations: 15.59 kB / 431.9 MB, free: 5.758 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.210637307958677]