Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009663/0.0009663, allocations: 83.89 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009429/0.0009429, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.052/1.052, allocations: 173.3 MB / 201.1 MB, free: 8.98 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 268 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.514e-05, allocations: 6.109 kB / 268 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.00269/0.002725, allocations: 1.619 MB / 269.6 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000912/0.003637, allocations: 0.4946 MB / 270.1 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.003738, allocations: 0 / 270.1 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.635e-05/0.003795, allocations: 3.938 kB / 270.1 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.003971, allocations: 11.88 kB / 270.1 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.004306, allocations: 59.72 kB / 270.2 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.004417, allocations: 47.8 kB / 270.2 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.00454, allocations: 12.17 kB / 270.2 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.004649, allocations: 31.91 kB / 270.3 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.004706, allocations: 15.92 kB / 270.3 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.004729, allocations: 4 kB / 270.3 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.004743, allocations: 8 kB / 270.3 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.004803, allocations: 15.92 kB / 270.3 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.004845, allocations: 7.938 kB / 270.3 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.004993, allocations: 43.83 kB / 270.4 MB, free: 3.895 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004996, allocations: 0 / 270.4 MB, free: 3.895 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.004997, allocations: 0 / 270.4 MB, free: 3.895 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.005003, allocations: 0 / 270.4 MB, free: 3.895 MB / 250.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.0005021/0.005505, allocations: 408.2 kB / 270.8 MB, free: 3.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.005548, allocations: 8.031 kB / 270.8 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.005606, allocations: 16.84 kB / 270.8 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.005866, allocations: 155.5 kB / 270.9 MB, free: 3.262 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.005878, allocations: 384 / 270.9 MB, free: 3.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.005896, allocations: 4.375 kB / 271 MB, free: 3.258 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.006226, allocations: 137.3 kB / 271.1 MB, free: 3.094 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.006238, allocations: 192 / 271.1 MB, free: 3.094 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.006252, allocations: 4.125 kB / 271.1 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.006261, allocations: 0 / 271.1 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.559e-05/0.006297, allocations: 19.92 kB / 271.1 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.00665, allocations: 271.2 kB / 271.4 MB, free: 2.762 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.859e-05/0.006749, allocations: 89.19 kB / 271.5 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.006791, allocations: 35.19 kB / 271.5 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.006819, allocations: 3.984 kB / 271.5 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.00685, allocations: 45.33 kB / 271.5 MB, free: 2.531 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/0.006852, allocations: 3.938 kB / 271.5 MB, free: 2.527 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001904/0.007042, allocations: 65.58 kB / 271.6 MB, free: 2.457 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.007105, allocations: 102.8 kB / 271.7 MB, free: 2.332 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.007218, allocations: 193.9 kB / 271.9 MB, free: 2.125 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.007229, allocations: 25.7 kB / 271.9 MB, free: 2.094 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.007288, allocations: 142.9 kB / 272.1 MB, free: 1.949 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.007308, allocations: 3.953 kB / 272.1 MB, free: 1.945 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.007337, allocations: 19.38 kB / 272.1 MB, free: 1.918 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.007476, allocations: 0.4884 MB / 272.6 MB, free: 1.418 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.007496, allocations: 0 / 272.6 MB, free: 1.418 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.007507, allocations: 8.312 kB / 272.6 MB, free: 1.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.095e-05/0.007538, allocations: 11.75 kB / 272.6 MB, free: 1.395 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.00754, allocations: 0 / 272.6 MB, free: 1.395 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.497e-05/0.007605, allocations: 45.53 kB / 272.6 MB, free: 1.344 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.007623, allocations: 4 kB / 272.6 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.00763, allocations: 0 / 272.6 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.007654, allocations: 7.984 kB / 272.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.007754, allocations: 4 kB / 272.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.007761, allocations: 0 / 272.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.00778, allocations: 4 kB / 272.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.007787, allocations: 4.031 kB / 272.7 MB, free: 1.32 MB / 250.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 8.407e-05/0.007871, allocations: 160.5 kB / 272.8 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.007937, allocations: 53.58 kB / 272.9 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.007975, allocations: 7.969 kB / 272.9 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.007979, allocations: 4 kB / 272.9 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.007984, allocations: 0 / 272.9 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.007988, allocations: 0 / 272.9 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.008107, allocations: 132.6 kB / 273 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.00811, allocations: 0 / 273 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.008161, allocations: 16 kB / 273 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.008163, allocations: 0 / 273 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.008173, allocations: 7.922 kB / 273 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.008176, allocations: 4 kB / 273 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.008177, allocations: 0 / 273 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.008327, allocations: 219.3 kB / 273.3 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.008366, allocations: 15.92 kB / 273.3 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.008383, allocations: 7.938 kB / 273.3 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.008424, allocations: 4 kB / 273.3 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.008462, allocations: 7.969 kB / 273.3 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.008465, allocations: 4 kB / 273.3 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.541e-05/0.008531, allocations: 150.1 kB / 273.4 MB, free: 472 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008531, allocations: 4 kB / 273.4 MB, free: 468 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.00868, allocations: 4 kB / 273.5 MB, free: 464 kB / 250.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 9.702e-05/0.008777, allocations: 103.2 kB / 273.6 MB, free: 352 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.492e-05/0.008872, allocations: 15.67 kB / 273.6 MB, free: 332 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.008873, allocations: 0 / 273.6 MB, free: 332 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.811e-05/0.008892, allocations: 15.62 kB / 273.6 MB, free: 312 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.00919, allocations: 24.98 kB / 273.6 MB, free: 284 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.009767, allocations: 192.3 kB / 273.8 MB, free: 56 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.422e-05/0.009832, allocations: 63.28 kB / 273.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.068e-05/0.009862, allocations: 4 kB / 273.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.009898, allocations: 8.5 kB / 273.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.009898, allocations: 4 kB / 273.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of Templates: time 0.002572/0.01247, allocations: 0.6345 MB / 274.5 MB, free: 15.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.815610189922154]