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.001759/0.001759, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002591/0.002591, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.481/1.481, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.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 0.00155/0.00155, allocations: 55.86 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2491, allocations: 53.35 MB / 432.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002915/0.252, allocations: 1.597 MB / 433.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.253, allocations: 0.5298 MB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.2531, allocations: 0 / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.2531, allocations: 11.86 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.2532, allocations: 7.938 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.2535, allocations: 71.73 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2536, allocations: 51.78 kB / 434.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.2537, allocations: 8.188 kB / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.2538, allocations: 31.91 kB / 434.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.2539, allocations: 23.86 kB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.2539, allocations: 3.938 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.822e-05/0.2539, allocations: 8 kB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.254, allocations: 15.92 kB / 434.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.254, allocations: 23.8 kB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2542, allocations: 66.34 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2542, allocations: 8 kB / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2542, allocations: 0 / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.2542, allocations: 0 / 434.8 MB, free: 4.219 MB / 334.1 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.0004657/0.2546, allocations: 302 kB / 435.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2547, allocations: 8.031 kB / 435.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.2548, allocations: 20.88 kB / 435.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.255, allocations: 142.9 kB / 435.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.2551, allocations: 4.375 kB / 435.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.2551, allocations: 7.938 kB / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.2553, allocations: 129.8 kB / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2554, allocations: 0 / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.2554, allocations: 0 / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2554, allocations: 4 kB / 435.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.756e-05/0.2555, allocations: 19.98 kB / 435.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.2557, allocations: 230.1 kB / 435.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.2559, allocations: 63.8 kB / 435.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.2559, allocations: 38.61 kB / 435.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.256, allocations: 0 / 435.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.256, allocations: 38.56 kB / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.256, allocations: 0 / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002744/0.2563, allocations: 89.83 kB / 435.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.2563, allocations: 106.8 kB / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.2565, allocations: 144.6 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2565, allocations: 29.69 kB / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.2565, allocations: 88.14 kB / 436.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.2566, allocations: 4 kB / 436.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.2566, allocations: 17.67 kB / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2567, allocations: 326.8 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.2568, allocations: 4 kB / 436.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/0.2568, allocations: 35.42 kB / 436.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.679e-05/0.2569, allocations: 51.36 kB / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2569, allocations: 0 / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001454/0.2571, allocations: 73.55 kB / 436.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2571, allocations: 4 kB / 436.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2571, allocations: 4 kB / 436.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2571, allocations: 4.125 kB / 436.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.2572, allocations: 11.98 kB / 436.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2572, allocations: 3.938 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.2572, allocations: 4 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.2572, allocations: 3.938 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 8.376e-05/0.2573, allocations: 121.8 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/0.2574, allocations: 57.53 kB / 436.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.2574, allocations: 19.91 kB / 437 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2574, allocations: 4 kB / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2574, allocations: 4.062 kB / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2575, allocations: 0 / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2576, allocations: 121.2 kB / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2576, allocations: 0 / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.2577, allocations: 11.98 kB / 437.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2577, allocations: 0 / 437.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.2577, allocations: 0 / 437.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2577, allocations: 4 kB / 437.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2577, allocations: 3.938 kB / 437.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.2579, allocations: 185.1 kB / 437.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.2579, allocations: 15.88 kB / 437.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.2579, allocations: 8 kB / 437.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.258, allocations: 4 kB / 437.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.258, allocations: 3.984 kB / 437.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2581, allocations: 4 kB / 437.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.812e-05/0.2581, allocations: 111.2 kB / 437.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2581, allocations: 0 / 437.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.2584, allocations: 4 kB / 437.4 MB, free: 1.254 MB / 334.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: 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.693e-05/0.2585, allocations: 111.2 kB / 437.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.2586, allocations: 23.98 kB / 437.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2586, allocations: 4 kB / 437.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.829e-05/0.2586, allocations: 11.92 kB / 437.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.259, allocations: 23.66 kB / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.2594, allocations: 214.2 kB / 437.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.265e-05/0.2595, allocations: 87.77 kB / 437.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.2595, allocations: 11.44 kB / 437.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2595, allocations: 0 / 437.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of Templates: time 0.002344/0.2618, allocations: 0.8599 MB / 438.8 MB, free: 15.86 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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: 6.9021243450115435]