Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001527/0.001527, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001644/0.001644, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.621/1.621, allocations: 230.6 MB / 254.1 MB, free: 15.12 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 59.91 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1358, allocations: 53.32 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003358/0.1391, allocations: 1.601 MB / 428.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1403, allocations: 0.5727 MB / 429 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.1404, allocations: 4 kB / 429 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.942e-05/0.1404, allocations: 7.875 kB / 429 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.1406, allocations: 11.91 kB / 429 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.1409, allocations: 71.38 kB / 429.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.141, allocations: 43.8 kB / 429.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1412, allocations: 24.16 kB / 429.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1413, allocations: 23.92 kB / 429.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.815e-05/0.1413, allocations: 23.86 kB / 429.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1414, allocations: 4 kB / 429.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.305e-05/0.1414, allocations: 4 kB / 429.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.1415, allocations: 15.92 kB / 429.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.1415, allocations: 31.8 kB / 429.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1417, allocations: 63.61 kB / 429.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1417, allocations: 0 / 429.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1417, allocations: 0 / 429.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1417, allocations: 0 / 429.3 MB, free: 1.766 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.000632/0.1423, allocations: 383.1 kB / 429.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.1424, allocations: 8.031 kB / 429.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.1425, allocations: 20.81 kB / 429.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1428, allocations: 212.7 kB / 429.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1428, allocations: 12.36 kB / 429.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.1428, allocations: 7.938 kB / 429.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.1431, allocations: 109.9 kB / 430 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1432, allocations: 3.938 kB / 430 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1432, allocations: 4 kB / 430.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1432, allocations: 0 / 430.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.1433, allocations: 23.98 kB / 430.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.1437, allocations: 274.5 kB / 430.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1438, allocations: 71.78 kB / 430.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.1439, allocations: 30.62 kB / 430.4 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1439, allocations: 0 / 430.4 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.1439, allocations: 38.56 kB / 430.5 MB, free: 392 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1439, allocations: 0 / 430.5 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003115/0.1442, allocations: 89.52 kB / 430.6 MB, free: 296 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.1e-05/0.1443, allocations: 106.8 kB / 430.7 MB, free: 164 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.1445, allocations: 152 kB / 430.8 MB, free: 4 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.1445, allocations: 25.7 kB / 430.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.1446, allocations: 88.14 kB / 430.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.1446, allocations: 4.359 kB / 430.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.1447, allocations: 25.67 kB / 431 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1448, allocations: 314.8 kB / 431.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.65e-05/0.1449, allocations: 11.98 kB / 431.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-05/0.1449, allocations: 35.42 kB / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.145, allocations: 47.36 kB / 431.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.145, allocations: 0 / 431.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001583/0.1452, allocations: 69.56 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1452, allocations: 8 kB / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1452, allocations: 0 / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1452, allocations: 8.109 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.1453, allocations: 8 kB / 431.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1453, allocations: 3.984 kB / 431.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.1454, allocations: 11.88 kB / 431.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.1454, allocations: 4 kB / 431.5 MB, free: 15.3 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 0.000118/0.1455, allocations: 121.8 kB / 431.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1456, allocations: 57.53 kB / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.1456, allocations: 15.94 kB / 431.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1456, allocations: 4 kB / 431.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1456, allocations: 0 / 431.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1456, allocations: 3.938 kB / 431.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.1459, allocations: 169.7 kB / 431.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.1459, allocations: 7.922 kB / 431.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.1459, allocations: 8 kB / 431.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1459, allocations: 0 / 431.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1459, allocations: 4 kB / 431.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1459, allocations: 4 kB / 431.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1459, allocations: 0 / 431.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1462, allocations: 189.2 kB / 432 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.1462, allocations: 93.05 kB / 432.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1463, allocations: 7.984 kB / 432.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.1463, allocations: 0 / 432.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1464, allocations: 7.938 kB / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1464, allocations: 4 kB / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.1465, allocations: 114.1 kB / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1465, allocations: 0 / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000234/0.1467, allocations: 8 kB / 432.3 MB, free: 14.38 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.0001226/0.1468, allocations: 95.25 kB / 432.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.147, allocations: 36.09 kB / 432.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.147, allocations: 4.062 kB / 432.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.241e-05/0.1471, allocations: 11.94 kB / 432.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.1475, allocations: 24.02 kB / 432.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.1479, allocations: 176.3 kB / 432.6 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.1483, allocations: 0.7043 MB / 433.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.1483, allocations: 3.984 kB / 433.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.1484, allocations: 11.44 kB / 433.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1484, allocations: 0 / 433.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of Templates: time 0.003389/0.1518, allocations: 0.5899 MB / 433.9 MB, free: 12.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.918207962065935]