Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 118.6 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.638/1.638, allocations: 230.2 MB / 254.5 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 373.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1484, allocations: 53.32 MB / 427.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003301/0.1517, allocations: 1.591 MB / 428.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1529, allocations: 0.5493 MB / 429.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.153, allocations: 0 / 429.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.637e-05/0.1531, allocations: 15.86 kB / 429.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.1532, allocations: 3.938 kB / 429.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.1536, allocations: 59.81 kB / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1537, allocations: 47.8 kB / 429.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1538, allocations: 16.16 kB / 429.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1539, allocations: 31.86 kB / 429.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.154, allocations: 19.86 kB / 429.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.154, allocations: 8 kB / 429.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.629e-05/0.1541, allocations: 8 kB / 429.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.1541, allocations: 23.91 kB / 429.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.1542, allocations: 19.81 kB / 429.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1543, allocations: 63.67 kB / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1543, allocations: 0 / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1543, allocations: 0 / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1544, allocations: 0 / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006041/0.155, allocations: 379.1 kB / 430 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.155, allocations: 12.03 kB / 430 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.1552, allocations: 20.88 kB / 430 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.1555, allocations: 219 kB / 430.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1555, allocations: 4.375 kB / 430.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1555, allocations: 11.94 kB / 430.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.1559, allocations: 113.9 kB / 430.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1559, allocations: 0 / 430.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1559, allocations: 4 kB / 430.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1559, allocations: 0 / 430.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.859e-05/0.156, allocations: 23.92 kB / 430.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.1564, allocations: 274.6 kB / 430.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1565, allocations: 67.78 kB / 430.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.289e-05/0.1566, allocations: 34.62 kB / 430.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1566, allocations: 4 kB / 430.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1566, allocations: 34.5 kB / 430.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.1566, allocations: 0 / 430.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003138/0.1569, allocations: 89.86 kB / 430.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.157, allocations: 110.8 kB / 431 MB, free: 380 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1572, allocations: 141.8 kB / 431.1 MB, free: 228 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1572, allocations: 29.7 kB / 431.1 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.1572, allocations: 92.12 kB / 431.2 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.1573, allocations: 0 / 431.2 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.1573, allocations: 29.55 kB / 431.3 MB, free: 60 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1575, allocations: 322.8 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.1575, allocations: 8 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.1576, allocations: 35.42 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1577, allocations: 51.36 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1577, allocations: 0 / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001391/0.1578, allocations: 69.7 kB / 431.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1578, allocations: 4 kB / 431.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1578, allocations: 3.984 kB / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1578, allocations: 4 kB / 431.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.578e-05/0.1579, allocations: 4 kB / 431.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1579, allocations: 4.125 kB / 431.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.158, allocations: 11.92 kB / 431.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.158, allocations: 11.88 kB / 431.8 MB, free: 15.5 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.162e-05/0.1581, allocations: 117.8 kB / 431.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/0.1582, allocations: 57.59 kB / 432 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.1582, allocations: 11.88 kB / 432 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1582, allocations: 0 / 432 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1582, allocations: 0 / 432 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1582, allocations: 11.94 kB / 432 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1584, allocations: 173.6 kB / 432.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1584, allocations: 0 / 432.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.1585, allocations: 8 kB / 432.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.1585, allocations: 4 kB / 432.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1585, allocations: 3.984 kB / 432.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1585, allocations: 4 kB / 432.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1585, allocations: 0 / 432.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1587, allocations: 189.1 kB / 432.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.1588, allocations: 89.05 kB / 432.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.1588, allocations: 4 kB / 432.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.1589, allocations: 4 kB / 432.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.1589, allocations: 3.938 kB / 432.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1589, allocations: 4 kB / 432.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.557e-05/0.159, allocations: 110.2 kB / 432.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.159, allocations: 4 kB / 432.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.1592, allocations: 8 kB / 432.6 MB, free: 14.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.000125/0.1594, allocations: 103.2 kB / 432.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1595, allocations: 27.92 kB / 432.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1595, allocations: 0 / 432.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.1596, allocations: 8.25 kB / 432.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.16, allocations: 34.42 kB / 432.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.1604, allocations: 184.2 kB / 432.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.1607, allocations: 0.6924 MB / 433.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.153e-05/0.1608, allocations: 192 / 433.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.1608, allocations: 19.44 kB / 433.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1608, allocations: 0 / 433.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of Templates: time 0.003454/0.1643, allocations: 0.5823 MB / 434.2 MB, free: 12.89 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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: 4.966962671838701]