Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.00135/0.00135, allocations: 71.75 kB / 21.69 MB, free: 2.84 MB / 18.57 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.001277/0.001277, allocations: 160.1 kB / 24.99 MB, free: 8.824 MB / 18.57 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.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 273.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.191e-05/3.364e-05, allocations: 2.312 kB / 273.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003469/0.003503, allocations: 1.599 MB / 274.7 MB, free: 200 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005552/0.004058, allocations: 143.4 kB / 274.8 MB, free: 56 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.004164, allocations: 7.938 kB / 274.8 MB, free: 48 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.822e-05/0.004222, allocations: 3.938 kB / 274.8 MB, free: 44 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.004393, allocations: 15.91 kB / 274.8 MB, free: 28 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.004718, allocations: 31.94 kB / 274.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.004844, allocations: 39.77 kB / 274.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.004961, allocations: 11.98 kB / 274.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.00502, allocations: 11.98 kB / 274.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.00515, allocations: 11.92 kB / 274.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.005178, allocations: 4 kB / 274.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.00519, allocations: 4 kB / 275 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.005249, allocations: 19.92 kB / 275 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.00529, allocations: 11.98 kB / 275 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.005426, allocations: 31.84 kB / 275 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.00543, allocations: 0 / 275 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.005432, allocations: 3.938 kB / 275 MB, free: 15.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.005437, allocations: 0 / 275 MB, free: 15.85 MB / 266.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.0004982/0.005936, allocations: 392.4 kB / 275.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.005986, allocations: 15.97 kB / 275.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.00604, allocations: 8.891 kB / 275.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.006257, allocations: 144.2 kB / 275.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.00627, allocations: 4.375 kB / 275.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.006282, allocations: 4.375 kB / 275.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.006588, allocations: 129.6 kB / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.006597, allocations: 192 / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.006607, allocations: 384 / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.006617, allocations: 384 / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.717e-05/0.006644, allocations: 11.88 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.007066, allocations: 271.5 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.007301, allocations: 70.05 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.007351, allocations: 23.5 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.007371, allocations: 0 / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.007411, allocations: 45.38 kB / 276.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.532e-06/0.007413, allocations: 0 / 276.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002002/0.007613, allocations: 61.52 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.007673, allocations: 85.05 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.007795, allocations: 186 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.007806, allocations: 33.7 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.007866, allocations: 134.9 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.007885, allocations: 3.953 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.00792, allocations: 19.38 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.008065, allocations: 0.4883 MB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.008084, allocations: 4 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-06/0.008091, allocations: 0 / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.739e-05/0.008118, allocations: 7.688 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.008121, allocations: 0 / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.944e-05/0.008191, allocations: 45.69 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.008209, allocations: 4 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.008215, allocations: 3.938 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.008235, allocations: 4 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.008327, allocations: 4 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.008335, allocations: 0 / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.008356, allocations: 4 kB / 277.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.008362, allocations: 0 / 277.2 MB, free: 13.42 MB / 266.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 9.819e-05/0.00846, allocations: 156.6 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.008546, allocations: 45.64 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.008586, allocations: 24.3 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008589, allocations: 0 / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.008594, allocations: 0 / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.008599, allocations: 0 / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.008821, allocations: 128.6 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.008825, allocations: 4 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.00888, allocations: 7.938 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.008883, allocations: 0 / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.008891, allocations: 4 kB / 277.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.008896, allocations: 3.938 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.008899, allocations: 3.984 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.009049, allocations: 211.6 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.009084, allocations: 11.95 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.009098, allocations: 0 / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.182e-05/0.00916, allocations: 7.938 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.009199, allocations: 3.984 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.009204, allocations: 0 / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.153e-05/0.009276, allocations: 139.2 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009276, allocations: 0 / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.009498, allocations: 11.94 kB / 277.9 MB, free: 12.6 MB / 266.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 0.0001183/0.009616, allocations: 103.2 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.602e-05/0.009712, allocations: 19.61 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.009714, allocations: 0 / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.53e-05/0.009729, allocations: 11.69 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.01009, allocations: 24.8 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.01046, allocations: 156.8 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.167e-05/0.01051, allocations: 59.34 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.626e-05/0.01054, allocations: 8.375 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.01057, allocations: 8.5 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of SimCode: time 1.133e-06/0.01058, allocations: 0 / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of Templates: time 0.002963/0.01354, allocations: 0.5306 MB / 278.9 MB, free: 11.62 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.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.905035258969292]