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.001877/0.001877, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002392/0.002392, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 8.238 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.001492/0.001492, allocations: 39.94 kB / 379 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2497, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003141/0.2529, allocations: 1.617 MB / 434 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.254, allocations: 0.5726 MB / 434.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.2541, allocations: 11.88 kB / 434.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.688e-05/0.2541, allocations: 3.938 kB / 434.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.2542, allocations: 3.938 kB / 434.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.2546, allocations: 74.11 kB / 434.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.2547, allocations: 47.84 kB / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2548, allocations: 12.17 kB / 434.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2549, allocations: 31.86 kB / 434.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.255, allocations: 23.86 kB / 434.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.255, allocations: 4 kB / 434.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.759e-05/0.2551, allocations: 4 kB / 434.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.2551, allocations: 15.92 kB / 434.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.2551, allocations: 35.73 kB / 434.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.2553, allocations: 57 kB / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2553, allocations: 0 / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2553, allocations: 3.938 kB / 434.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2553, allocations: 0 / 434.9 MB, free: 4.434 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.0004731/0.2558, allocations: 313.9 kB / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2558, allocations: 8.031 kB / 435.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.256, allocations: 24.88 kB / 435.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.2562, allocations: 134.9 kB / 435.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.2562, allocations: 12.31 kB / 435.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.2562, allocations: 3.938 kB / 435.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.2565, allocations: 125.9 kB / 435.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2565, allocations: 0 / 435.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.2565, allocations: 0 / 435.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2565, allocations: 4 kB / 435.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.2566, allocations: 23.98 kB / 435.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.257, allocations: 241.6 kB / 435.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2571, allocations: 71.78 kB / 435.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.2572, allocations: 26.64 kB / 435.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.2572, allocations: 7.984 kB / 435.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2572, allocations: 34.56 kB / 435.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2572, allocations: 0 / 435.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002744/0.2575, allocations: 93.55 kB / 436 MB, free: 3.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.2576, allocations: 102.8 kB / 436.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.2577, allocations: 155.8 kB / 436.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.2577, allocations: 25.7 kB / 436.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.2578, allocations: 88.14 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.2578, allocations: 7.938 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.2578, allocations: 25.94 kB / 436.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.258, allocations: 318.8 kB / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.269e-05/0.258, allocations: 7.984 kB / 436.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.703e-05/0.2581, allocations: 35.42 kB / 436.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.753e-05/0.2582, allocations: 51.36 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2582, allocations: 0 / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001383/0.2583, allocations: 69.56 kB / 436.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2583, allocations: 4 kB / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2583, allocations: 0 / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.2583, allocations: 8.219 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.2584, allocations: 11.97 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.2584, allocations: 4 kB / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/0.2585, allocations: 3.938 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.2585, allocations: 4 kB / 436.9 MB, free: 2.164 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 9.711e-05/0.2586, allocations: 117.8 kB / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/0.2587, allocations: 57.55 kB / 437.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.2587, allocations: 15.95 kB / 437.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2587, allocations: 8 kB / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2587, allocations: 0 / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2587, allocations: 3.938 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.2589, allocations: 140.7 kB / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2589, allocations: 4 kB / 437.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.493e-05/0.259, allocations: 7.984 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.259, allocations: 4 kB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.259, allocations: 4 kB / 437.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.259, allocations: 7.938 kB / 437.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.259, allocations: 0 / 437.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.2592, allocations: 181.1 kB / 437.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.2592, allocations: 19.88 kB / 437.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.2592, allocations: 4 kB / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.2593, allocations: 0 / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.2593, allocations: 7.922 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2593, allocations: 8 kB / 437.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.579e-05/0.2594, allocations: 116.6 kB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2594, allocations: 0 / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.2597, allocations: 7.938 kB / 437.6 MB, free: 1.379 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 0.0001016/0.2598, allocations: 99.19 kB / 437.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.2599, allocations: 27.92 kB / 437.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.2599, allocations: 8.25 kB / 437.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.242e-05/0.26, allocations: 11.98 kB / 437.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.2603, allocations: 22.83 kB / 437.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.2607, allocations: 214.2 kB / 438 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.2611, allocations: 0.6926 MB / 438.7 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.2611, allocations: 11.44 kB / 438.7 MB, free: 236 kB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2611, allocations: 0 / 438.7 MB, free: 236 kB / 334.1 MB Notification: Performance of Templates: time 0.002582/0.2637, allocations: 0.8504 MB / 439.5 MB, free: 15.38 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.6413274181541055]