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.001478/0.001478, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.001833/0.001833, allocations: 142.4 kB / 25.59 MB, free: 8.906 MB / 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 0.9769/0.9769, allocations: 173.4 MB / 202.2 MB, free: 8.316 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.713e-06/1.713e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.396e-05, allocations: 2.312 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002267/0.00229, allocations: 1.619 MB / 270.8 MB, free: 8.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.002995, allocations: 493.7 kB / 271.3 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.5e-05/0.00308, allocations: 3.938 kB / 271.3 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.118e-05/0.003132, allocations: 7.922 kB / 271.3 MB, free: 7.664 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.003266, allocations: 15.88 kB / 271.3 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.003507, allocations: 61.03 kB / 271.4 MB, free: 7.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.579e-05/0.003603, allocations: 43.84 kB / 271.4 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.003689, allocations: 12.17 kB / 271.4 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.003772, allocations: 28.53 kB / 271.5 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.003819, allocations: 19.92 kB / 271.5 MB, free: 7.488 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.003837, allocations: 4.594 kB / 271.5 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.003846, allocations: 1.312 kB / 271.5 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.003888, allocations: 15.92 kB / 271.5 MB, free: 7.469 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.003908, allocations: 11.98 kB / 271.5 MB, free: 7.457 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.00401, allocations: 43.77 kB / 271.6 MB, free: 7.414 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004012, allocations: 1.062 kB / 271.6 MB, free: 7.414 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004013, allocations: 0 / 271.6 MB, free: 7.414 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.004017, allocations: 3.938 kB / 271.6 MB, free: 7.41 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.000352/0.004369, allocations: 401.9 kB / 272 MB, free: 6.984 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.004402, allocations: 12.03 kB / 272 MB, free: 6.973 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.004433, allocations: 12.84 kB / 272 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.004586, allocations: 149.8 kB / 272.1 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.004595, allocations: 4.375 kB / 272.1 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.004602, allocations: 1.125 kB / 272.1 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.004776, allocations: 134.1 kB / 272.3 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.004783, allocations: 1.5 kB / 272.3 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.004789, allocations: 4.125 kB / 272.3 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.004794, allocations: 0 / 272.3 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.926e-05/0.004813, allocations: 12.44 kB / 272.3 MB, free: 6.609 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.005058, allocations: 251.8 kB / 272.5 MB, free: 6.328 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.587e-05/0.005134, allocations: 93.17 kB / 272.6 MB, free: 6.199 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.00516, allocations: 35.11 kB / 272.7 MB, free: 6.152 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.005175, allocations: 4 kB / 272.7 MB, free: 6.148 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.005197, allocations: 37.39 kB / 272.7 MB, free: 6.102 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.005198, allocations: 0 / 272.7 MB, free: 6.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001673/0.005365, allocations: 65.45 kB / 272.8 MB, free: 6.031 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.005417, allocations: 119.1 kB / 272.9 MB, free: 5.891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.005506, allocations: 196.9 kB / 273.1 MB, free: 5.684 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.005516, allocations: 29.7 kB / 273.1 MB, free: 5.648 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.005559, allocations: 130.9 kB / 273.2 MB, free: 5.516 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.005573, allocations: 3.953 kB / 273.2 MB, free: 5.512 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.0056, allocations: 23.38 kB / 273.3 MB, free: 5.48 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.005709, allocations: 0.4884 MB / 273.8 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-06/0.005719, allocations: 4 kB / 273.8 MB, free: 4.977 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.005726, allocations: 0 / 273.8 MB, free: 4.977 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.264e-05/0.005748, allocations: 11.69 kB / 273.8 MB, free: 4.961 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00575, allocations: 4.062 kB / 273.8 MB, free: 4.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.113e-05/0.005801, allocations: 37.59 kB / 273.8 MB, free: 4.914 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.005818, allocations: 15.92 kB / 273.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005823, allocations: 0 / 273.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.005832, allocations: 0 / 273.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.00589, allocations: 0 / 273.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.005894, allocations: 4 kB / 273.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.00591, allocations: 0 / 273.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.005914, allocations: 0 / 273.8 MB, free: 4.895 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 0.0002089/0.006123, allocations: 152.6 kB / 274 MB, free: 4.734 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.006178, allocations: 61.58 kB / 274 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.006213, allocations: 15.86 kB / 274.1 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.006216, allocations: 4 kB / 274.1 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.006219, allocations: 0 / 274.1 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.006223, allocations: 3.984 kB / 274.1 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.006325, allocations: 105.2 kB / 274.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.006328, allocations: 4 kB / 274.2 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.006366, allocations: 7.984 kB / 274.2 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.006369, allocations: 4 kB / 274.2 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.006373, allocations: 4.062 kB / 274.2 MB, free: 4.492 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.006375, allocations: 0 / 274.2 MB, free: 4.492 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.006377, allocations: 3.938 kB / 274.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.006484, allocations: 211.2 kB / 274.4 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.006513, allocations: 15.94 kB / 274.4 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.006522, allocations: 0 / 274.4 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.006558, allocations: 11.94 kB / 274.4 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.006581, allocations: 3.938 kB / 274.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.006585, allocations: 0 / 274.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.718e-05/0.006632, allocations: 147.1 kB / 274.6 MB, free: 4.078 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006632, allocations: 4.031 kB / 274.6 MB, free: 4.074 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.006767, allocations: 4 kB / 274.6 MB, free: 4.07 MB / 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 8.372e-05/0.006851, allocations: 103.2 kB / 274.7 MB, free: 3.961 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.749e-05/0.006919, allocations: 15.62 kB / 274.7 MB, free: 3.941 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.00692, allocations: 0 / 274.7 MB, free: 3.941 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.491e-05/0.006935, allocations: 15.67 kB / 274.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.007184, allocations: 16.88 kB / 274.7 MB, free: 3.902 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.007558, allocations: 204.6 kB / 274.9 MB, free: 3.668 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.523e-05/0.007593, allocations: 59.34 kB / 275 MB, free: 3.59 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.258e-05/0.007616, allocations: 7.906 kB / 275 MB, free: 3.582 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.007674, allocations: 78.19 kB / 275.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/0.007675, allocations: 4 kB / 275.1 MB, free: 3.5 MB / 250.7 MB Notification: Performance of Templates: time 0.00215/0.009825, allocations: 0.6911 MB / 275.8 MB, free: 2.828 MB / 250.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.74675435712561]