Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001374/0.001374, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001132/0.001132, allocations: 150.3 kB / 24.81 MB, free: 9.285 MB / 18.57 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.05/1.05, allocations: 173.3 MB / 201.4 MB, free: 9.176 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 268.4 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.914e-05, allocations: 2.312 kB / 268.4 MB, free: 6.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002993/0.003022, allocations: 1.615 MB / 270 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009236/0.003946, allocations: 462.6 kB / 270.5 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.584e-05/0.004042, allocations: 3.938 kB / 270.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.541e-05/0.004097, allocations: 3.938 kB / 270.5 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.004261, allocations: 19.86 kB / 270.5 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.004519, allocations: 43.83 kB / 270.6 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.004628, allocations: 47.78 kB / 270.6 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.004728, allocations: 8 kB / 270.6 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.004836, allocations: 27.95 kB / 270.6 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.117e-05/0.004897, allocations: 15.92 kB / 270.7 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.004921, allocations: 7.938 kB / 270.7 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.004935, allocations: 4 kB / 270.7 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.004985, allocations: 11.94 kB / 270.7 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.005016, allocations: 15.92 kB / 270.7 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.00514, allocations: 39.83 kB / 270.7 MB, free: 3.816 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.005144, allocations: 4 kB / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005145, allocations: 0 / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.005149, allocations: 0 / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004499/0.005599, allocations: 400.3 kB / 271.1 MB, free: 3.387 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.005646, allocations: 8.922 kB / 271.1 MB, free: 3.379 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.005684, allocations: 8.891 kB / 271.1 MB, free: 3.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.005859, allocations: 147.4 kB / 271.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.00587, allocations: 384 / 271.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.005882, allocations: 12.38 kB / 271.3 MB, free: 3.191 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.006116, allocations: 125.5 kB / 271.4 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.006125, allocations: 4.172 kB / 271.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.006133, allocations: 384 / 271.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.00614, allocations: 3.938 kB / 271.4 MB, free: 3.035 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/0.006166, allocations: 7.938 kB / 271.4 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.006432, allocations: 244.1 kB / 271.7 MB, free: 2.758 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.006576, allocations: 74.12 kB / 271.7 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.006612, allocations: 27.41 kB / 271.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.006634, allocations: 4 kB / 271.8 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.006663, allocations: 37.39 kB / 271.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.006664, allocations: 0 / 271.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001668/0.006831, allocations: 57.52 kB / 271.9 MB, free: 2.512 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.006881, allocations: 85.11 kB / 272 MB, free: 2.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.007004, allocations: 189.9 kB / 272.1 MB, free: 2.207 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.007017, allocations: 25.7 kB / 272.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.007077, allocations: 142.9 kB / 272.3 MB, free: 2.031 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.007092, allocations: 4 kB / 272.3 MB, free: 2.027 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.007124, allocations: 15.38 kB / 272.3 MB, free: 2.004 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.007268, allocations: 0.4923 MB / 272.8 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.007279, allocations: 0 / 272.8 MB, free: 1.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/0.007288, allocations: 4 kB / 272.8 MB, free: 1.496 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.007315, allocations: 15.62 kB / 272.8 MB, free: 1.477 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007317, allocations: 0 / 272.8 MB, free: 1.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.422e-05/0.007382, allocations: 33.66 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.007396, allocations: 12.09 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.007402, allocations: 3.938 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.007415, allocations: 192 / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.569e-05/0.007471, allocations: 7.984 kB / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.007473, allocations: 0 / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.007497, allocations: 0 / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.007503, allocations: 0 / 272.9 MB, free: 1.414 MB / 250.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.047e-05/0.007583, allocations: 156.6 kB / 273 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.007651, allocations: 53.56 kB / 273.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.007694, allocations: 16.28 kB / 273.1 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007696, allocations: 4 kB / 273.1 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.007698, allocations: 0 / 273.1 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.007702, allocations: 4 kB / 273.1 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.007842, allocations: 109.2 kB / 273.2 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007844, allocations: 0 / 273.2 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.007928, allocations: 7.984 kB / 273.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.007932, allocations: 4 kB / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.007938, allocations: 0 / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.007939, allocations: 0 / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.007944, allocations: 3.938 kB / 273.2 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.008068, allocations: 203.5 kB / 273.4 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.008105, allocations: 15.92 kB / 273.5 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.008116, allocations: 0 / 273.5 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.008177, allocations: 7.984 kB / 273.5 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.008202, allocations: 3.938 kB / 273.5 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.008208, allocations: 4 kB / 273.5 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.506e-05/0.008273, allocations: 141.8 kB / 273.6 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008273, allocations: 3.938 kB / 273.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.008505, allocations: 8 kB / 273.6 MB, free: 0.6094 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 8.831e-05/0.008593, allocations: 95.23 kB / 273.7 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.861e-05/0.008672, allocations: 23.62 kB / 273.7 MB, free: 492 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008673, allocations: 0 / 273.7 MB, free: 492 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.58e-05/0.008689, allocations: 11.69 kB / 273.8 MB, free: 476 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.00901, allocations: 16.86 kB / 273.8 MB, free: 456 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.009526, allocations: 184 kB / 273.9 MB, free: 244 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.305e-05/0.009579, allocations: 63.34 kB / 274 MB, free: 160 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.98e-05/0.009609, allocations: 4.125 kB / 274 MB, free: 156 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.387e-05/0.009673, allocations: 74.19 kB / 274.1 MB, free: 80 kB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.009674, allocations: 0 / 274.1 MB, free: 80 kB / 250.7 MB Notification: Performance of Templates: time 0.00298/0.01265, allocations: 0.5954 MB / 274.7 MB, free: 15.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.65305546624586]