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.001274/0.001274, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001312/0.001312, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 0.9056/0.9056, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.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 1.323e-06/1.323e-06, allocations: 0 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.511e-05, allocations: 10.31 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002087/0.002112, allocations: 1.638 MB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.002848, allocations: 0.5762 MB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.002916, allocations: 3.938 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.00296, allocations: 3.938 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.003078, allocations: 11.92 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.003329, allocations: 71.61 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.93e-05/0.003418, allocations: 47.8 kB / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.003489, allocations: 12.17 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.003599, allocations: 31.97 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.00364, allocations: 15.92 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.003655, allocations: 4 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.638e-05/0.003691, allocations: 7.984 kB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.003728, allocations: 15.92 kB / 275.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.003746, allocations: 15.94 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003854, allocations: 59.67 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003856, allocations: 0 / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003857, allocations: 0 / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.003862, allocations: 0 / 276 MB, free: 14.76 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002971/0.004159, allocations: 276.6 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.004188, allocations: 12.03 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.521e-05/0.004283, allocations: 24.86 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.004423, allocations: 134.2 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.00443, allocations: 4.375 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.00444, allocations: 8.375 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.00461, allocations: 122.9 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.004616, allocations: 4 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-06/0.004621, allocations: 0 / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.004625, allocations: 3.938 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.429e-05/0.004639, allocations: 4 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.004804, allocations: 166 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.761e-05/0.004861, allocations: 55.8 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.004884, allocations: 26.62 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.004899, allocations: 0 / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.004918, allocations: 42.5 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.004919, allocations: 0 / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001083/0.005027, allocations: 53.56 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.005082, allocations: 110.8 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.278e-05/0.005155, allocations: 142 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.005164, allocations: 25.7 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.005195, allocations: 88.08 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.005208, allocations: 3.953 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.005232, allocations: 18.09 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.005308, allocations: 326.8 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-06/0.005315, allocations: 0 / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-06/0.005321, allocations: 0 / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/0.005341, allocations: 8.859 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005343, allocations: 0 / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.096e-05/0.005384, allocations: 41.56 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.005394, allocations: 8 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005398, allocations: 0 / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.005407, allocations: 3.938 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.005456, allocations: 96 / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.005458, allocations: 8 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.507e-05/0.005473, allocations: 3.984 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.005478, allocations: 0 / 277.7 MB, free: 12.86 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 4.971e-05/0.005528, allocations: 112.7 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.005566, allocations: 45.56 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.005588, allocations: 11.97 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.00559, allocations: 0 / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.005592, allocations: 4 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.005595, allocations: 0 / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.098e-05/0.005676, allocations: 77.94 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005677, allocations: 0 / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.005704, allocations: 15.98 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.005706, allocations: 3.938 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-06/0.00571, allocations: 0 / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.005711, allocations: 8 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005712, allocations: 0 / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.533e-05/0.005778, allocations: 149.2 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.005802, allocations: 11.91 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.005814, allocations: 11.92 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-05/0.005845, allocations: 8.031 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.005863, allocations: 0 / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.005866, allocations: 4 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.236e-05/0.005889, allocations: 24.83 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005889, allocations: 0 / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001203/0.006009, allocations: 8 kB / 278.1 MB, free: 12.31 MB / 266.7 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 7.563e-05/0.006085, allocations: 82.92 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.91e-05/0.006134, allocations: 24.8 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.006137, allocations: 4.062 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.859e-06/0.006147, allocations: 8.859 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.006328, allocations: 28.73 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.006692, allocations: 179.8 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.484e-05/0.006727, allocations: 63.34 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.963e-05/0.006747, allocations: 3.984 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.006795, allocations: 59.62 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.006796, allocations: 3.938 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Templates: time 0.002105/0.008901, allocations: 0.668 MB / 279.3 MB, free: 11.14 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] 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","",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.485191782936454]