Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.001716/0.001716, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001843/0.001843, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.72/1.72, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 51.92 kB / 373.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1372, allocations: 53.32 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003464/0.1407, allocations: 1.63 MB / 428.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.142, allocations: 0.6311 MB / 429.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.1421, allocations: 3.938 kB / 429.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.274e-05/0.1422, allocations: 7.875 kB / 429.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.1425, allocations: 35.78 kB / 429.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.1428, allocations: 87.22 kB / 429.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.143, allocations: 71.84 kB / 429.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1431, allocations: 15.97 kB / 429.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1433, allocations: 39.8 kB / 429.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.1434, allocations: 43.77 kB / 429.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.1434, allocations: 4 kB / 429.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-05/0.1434, allocations: 8 kB / 429.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.1435, allocations: 19.92 kB / 429.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.445e-05/0.1436, allocations: 39.73 kB / 429.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.1438, allocations: 91.56 kB / 429.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1438, allocations: 0 / 429.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1438, allocations: 4 kB / 429.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1438, allocations: 0 / 429.5 MB, free: 1.535 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007709/0.1446, allocations: 403 kB / 429.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1446, allocations: 12.03 kB / 429.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.1448, allocations: 24.83 kB / 430 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1451, allocations: 216.7 kB / 430.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.1451, allocations: 4.375 kB / 430.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1451, allocations: 12.12 kB / 430.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/0.1457, allocations: 220 kB / 430.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1458, allocations: 0 / 430.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.1458, allocations: 11.94 kB / 430.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1458, allocations: 7.938 kB / 430.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.146, allocations: 47.95 kB / 430.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.1464, allocations: 298.5 kB / 430.8 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.1466, allocations: 91.77 kB / 430.9 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.1468, allocations: 50.8 kB / 430.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.1468, allocations: 0 / 430.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1469, allocations: 42.5 kB / 430.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.1469, allocations: 0 / 430.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004781/0.1473, allocations: 141.5 kB / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.1475, allocations: 114.8 kB / 431.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.1476, allocations: 144.1 kB / 431.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1477, allocations: 33.83 kB / 431.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.1477, allocations: 92.12 kB / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.1477, allocations: 19.84 kB / 431.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.1478, allocations: 33.7 kB / 431.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.148, allocations: 318.8 kB / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.148, allocations: 19.98 kB / 431.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.1482, allocations: 93.42 kB / 431.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.1484, allocations: 121.2 kB / 432 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1484, allocations: 4 kB / 432.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000252/0.1486, allocations: 125.4 kB / 432.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.1486, allocations: 11.94 kB / 432.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1486, allocations: 0 / 432.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1487, allocations: 4 kB / 432.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1488, allocations: 24.33 kB / 432.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1488, allocations: 8 kB / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.1489, allocations: 23.81 kB / 432.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1489, allocations: 7.938 kB / 432.3 MB, free: 14.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001283/0.149, allocations: 129.8 kB / 432.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.1492, allocations: 94.06 kB / 432.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.1493, allocations: 20.42 kB / 432.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1493, allocations: 0 / 432.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1493, allocations: 8 kB / 432.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1493, allocations: 7.938 kB / 432.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.1495, allocations: 185.6 kB / 432.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1495, allocations: 0 / 432.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.1497, allocations: 19.98 kB / 432.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1497, allocations: 4 kB / 432.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1497, allocations: 0 / 432.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1497, allocations: 4 kB / 432.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1497, allocations: 3.938 kB / 432.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.15, allocations: 233 kB / 432.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.41e-05/0.1501, allocations: 104.9 kB / 433.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1501, allocations: 8 kB / 433.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1502, allocations: 7.984 kB / 433.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.1503, allocations: 0 / 433.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1503, allocations: 7.938 kB / 433.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.944e-05/0.1504, allocations: 110.2 kB / 433.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1504, allocations: 4 kB / 433.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1507, allocations: 19.95 kB / 433.2 MB, free: 13.41 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001395/0.1508, allocations: 111.2 kB / 433.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.1511, allocations: 75.83 kB / 433.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1511, allocations: 0.6875 kB / 433.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.648e-05/0.1511, allocations: 23.92 kB / 433.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.1516, allocations: 54.47 kB / 433.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.1524, allocations: 257 kB / 433.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.1527, allocations: 0.7002 MB / 434.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.566e-05/0.1528, allocations: 12.61 kB / 434.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.1528, allocations: 15.44 kB / 434.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1528, allocations: 0 / 434.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of Templates: time 0.004464/0.1573, allocations: 0.9725 MB / 435.4 MB, free: 11.14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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: 5.345916736871004]