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.001381/0.001381, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.001426/0.001426, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.584/1.584, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.001549/0.001549, allocations: 47.92 kB / 374.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1267, allocations: 53.33 MB / 427.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003953/0.1306, allocations: 1.603 MB / 429.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.132, allocations: 0.5805 MB / 429.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1321, allocations: 3.938 kB / 429.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.31e-05/0.1322, allocations: 3.938 kB / 429.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.1323, allocations: 11.92 kB / 429.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.1327, allocations: 71.67 kB / 429.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1329, allocations: 47.8 kB / 429.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.133, allocations: 16.17 kB / 429.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1331, allocations: 27.91 kB / 429.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/0.1332, allocations: 23.8 kB / 429.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1332, allocations: 4 kB / 429.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.962e-05/0.1333, allocations: 12 kB / 429.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.1333, allocations: 15.92 kB / 429.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.1334, allocations: 27.8 kB / 429.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.1336, allocations: 59.67 kB / 430 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1336, allocations: 0 / 430 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1336, allocations: 0 / 430 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1336, allocations: 4 kB / 430 MB, free: 1.887 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.0006748/0.1343, allocations: 379.1 kB / 430.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1343, allocations: 12.03 kB / 430.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.1345, allocations: 20.88 kB / 430.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.1349, allocations: 208.7 kB / 430.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.1349, allocations: 384 / 430.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1349, allocations: 11.88 kB / 430.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.1353, allocations: 113.9 kB / 430.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1353, allocations: 4 kB / 430.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1353, allocations: 0 / 430.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1353, allocations: 0 / 430.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1354, allocations: 19.98 kB / 430.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.1359, allocations: 278.5 kB / 431 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.136, allocations: 67.78 kB / 431.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.1361, allocations: 34.62 kB / 431.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1361, allocations: 8 kB / 431.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1362, allocations: 30.56 kB / 431.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1362, allocations: 0 / 431.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003536/0.1365, allocations: 89.45 kB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.1366, allocations: 115.2 kB / 431.4 MB, free: 292 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.1368, allocations: 143.6 kB / 431.5 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1368, allocations: 29.7 kB / 431.5 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.1369, allocations: 88.12 kB / 431.6 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.1369, allocations: 4 kB / 431.6 MB, free: 8 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.1369, allocations: 21.67 kB / 431.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1371, allocations: 318.8 kB / 431.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.1372, allocations: 12 kB / 432 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.1372, allocations: 31.42 kB / 432 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1374, allocations: 55.36 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1374, allocations: 0 / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00015/0.1375, allocations: 77.48 kB / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1375, allocations: 4 kB / 432.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1375, allocations: 0 / 432.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.1376, allocations: 4 kB / 432.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.1376, allocations: 8 kB / 432.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1376, allocations: 0 / 432.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.1377, allocations: 16.05 kB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1377, allocations: 0 / 432.1 MB, free: 15.43 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.0001158/0.1378, allocations: 121.7 kB / 432.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.1379, allocations: 61.53 kB / 432.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.1379, allocations: 11.88 kB / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.138, allocations: 0 / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.138, allocations: 0 / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.138, allocations: 7.938 kB / 432.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.1382, allocations: 169.6 kB / 432.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.1382, allocations: 8.062 kB / 432.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.1383, allocations: 4 kB / 432.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.1383, allocations: 4 kB / 432.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.1383, allocations: 4 kB / 432.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1383, allocations: 7.922 kB / 432.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1383, allocations: 4 kB / 432.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.1385, allocations: 181.2 kB / 432.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.948e-05/0.1386, allocations: 93.05 kB / 432.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1386, allocations: 0 / 432.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.169e-05/0.1387, allocations: 4 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.1387, allocations: 3.938 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.1387, allocations: 4 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.919e-05/0.1388, allocations: 114.1 kB / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1388, allocations: 0 / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.1391, allocations: 12 kB / 432.9 MB, free: 14.52 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.0001457/0.1392, allocations: 101.2 kB / 433 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.1394, allocations: 35.91 kB / 433.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1394, allocations: 0 / 433.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.1394, allocations: 8 kB / 433.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.1398, allocations: 20.52 kB / 433.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.1403, allocations: 221.9 kB / 433.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.1407, allocations: 0.6885 MB / 434 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.1408, allocations: 15.38 kB / 434 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1408, allocations: 0 / 434 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Templates: time 0.003082/0.1438, allocations: 0.8314 MB / 434.9 MB, free: 12.54 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/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: 7.544476070004748]