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.001051/0.001051, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.000974/0.000974, allocations: 142.5 kB / 24.97 MB, free: 8.359 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 1.042/1.042, allocations: 173.4 MB / 201.5 MB, free: 9.336 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.773e-06/1.773e-06, allocations: 0 / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.229e-05, allocations: 2.312 kB / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001922/0.001944, allocations: 1.627 MB / 269.7 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006501/0.002594, allocations: 498.5 kB / 270.2 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.844e-05/0.002683, allocations: 7.938 kB / 270.2 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.427e-05/0.002737, allocations: 7.922 kB / 270.2 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.002872, allocations: 7.875 kB / 270.2 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.003112, allocations: 59.69 kB / 270.3 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.003215, allocations: 51.84 kB / 270.3 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.003316, allocations: 8.172 kB / 270.3 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.003392, allocations: 31.91 kB / 270.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.003441, allocations: 15.92 kB / 270.4 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.003461, allocations: 8 kB / 270.4 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.003471, allocations: 4 kB / 270.4 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.003514, allocations: 11.98 kB / 270.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.003536, allocations: 11.92 kB / 270.4 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.599e-05/0.003632, allocations: 43.77 kB / 270.5 MB, free: 4.332 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003634, allocations: 0 / 270.5 MB, free: 4.332 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003634, allocations: 0 / 270.5 MB, free: 4.332 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.003638, allocations: 0 / 270.5 MB, free: 4.332 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.000376/0.004014, allocations: 408.2 kB / 270.9 MB, free: 3.898 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.004049, allocations: 8.031 kB / 270.9 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.00409, allocations: 16.84 kB / 270.9 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.00425, allocations: 148.4 kB / 271 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.004259, allocations: 384 / 271 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.00427, allocations: 8.312 kB / 271 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.004493, allocations: 133.3 kB / 271.2 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004499, allocations: 192 / 271.2 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.004509, allocations: 4.125 kB / 271.2 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.004516, allocations: 4 kB / 271.2 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.00454, allocations: 4 kB / 271.2 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.004806, allocations: 287.1 kB / 271.5 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/0.004878, allocations: 93.17 kB / 271.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.00491, allocations: 31.19 kB / 271.6 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.004928, allocations: 7.984 kB / 271.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.004952, allocations: 41.33 kB / 271.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.004953, allocations: 4 kB / 271.6 MB, free: 2.965 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001476/0.005101, allocations: 69.52 kB / 271.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.005151, allocations: 102.8 kB / 271.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.005248, allocations: 197.2 kB / 272 MB, free: 2.559 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.005259, allocations: 25.7 kB / 272 MB, free: 2.527 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.005311, allocations: 146.8 kB / 272.2 MB, free: 2.379 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.005326, allocations: 3.953 kB / 272.2 MB, free: 2.375 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.005351, allocations: 15.38 kB / 272.2 MB, free: 2.352 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.005466, allocations: 0.4923 MB / 272.7 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.005476, allocations: 384 / 272.7 MB, free: 1.848 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.005482, allocations: 4 kB / 272.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.349e-05/0.005506, allocations: 15.62 kB / 272.7 MB, free: 1.824 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005508, allocations: 0 / 272.7 MB, free: 1.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.348e-05/0.005551, allocations: 41.59 kB / 272.7 MB, free: 1.777 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.005563, allocations: 4 kB / 272.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.005571, allocations: 0 / 272.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.005584, allocations: 0 / 272.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.005648, allocations: 7.984 kB / 272.7 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.005653, allocations: 0 / 272.7 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.005669, allocations: 4.094 kB / 272.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.005676, allocations: 8 kB / 272.7 MB, free: 1.754 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 6.85e-05/0.005744, allocations: 156.6 kB / 272.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.00579, allocations: 53.52 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.005819, allocations: 11.97 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.005821, allocations: 0 / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.005825, allocations: 4 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.005828, allocations: 0 / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.005934, allocations: 132.6 kB / 273.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005935, allocations: 64 / 273.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.005963, allocations: 12 kB / 273.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005964, allocations: 3.938 kB / 273.1 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.005974, allocations: 3.938 kB / 273.1 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.005975, allocations: 3.984 kB / 273.1 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.005978, allocations: 4 kB / 273.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.006098, allocations: 219.3 kB / 273.3 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.006127, allocations: 11.94 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.006141, allocations: 7.938 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.006174, allocations: 4 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.006204, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.006208, allocations: 8 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.582e-05/0.006264, allocations: 143.2 kB / 273.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006264, allocations: 7.875 kB / 273.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.006404, allocations: 4 kB / 273.5 MB, free: 0.8945 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 6.83e-05/0.006472, allocations: 103.2 kB / 273.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.335e-05/0.006546, allocations: 15.69 kB / 273.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006547, allocations: 0 / 273.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.347e-05/0.006561, allocations: 11.67 kB / 273.6 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.006808, allocations: 39.83 kB / 273.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.007225, allocations: 188.3 kB / 273.9 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.244e-05/0.007267, allocations: 59.34 kB / 273.9 MB, free: 424 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.195e-05/0.007289, allocations: 4 kB / 273.9 MB, free: 420 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.007314, allocations: 12.44 kB / 273.9 MB, free: 408 kB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.007315, allocations: 0 / 273.9 MB, free: 408 kB / 250.7 MB Notification: Performance of Templates: time 0.002358/0.009673, allocations: 0.6277 MB / 274.6 MB, free: 15.78 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.7913022059947252]