Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002587, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000737/0.000737, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009379/0.001675, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9292/0.9292, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08483/1.014, allocations: 53.86 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.146e-05, allocations: 5.406 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002435/0.002456, allocations: 1.995 MB / 247.2 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.003857, allocations: 1.284 MB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.003969, allocations: 7.938 kB / 248.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.00421, allocations: 71.55 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.004495, allocations: 139.2 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.004985, allocations: 234.9 kB / 248.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.005203, allocations: 183.5 kB / 249.1 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.108e-05/0.005284, allocations: 26.39 kB / 249.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.005432, allocations: 132.5 kB / 249.3 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.752e-05/0.00553, allocations: 67.8 kB / 249.3 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.005548, allocations: 8 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.005692, allocations: 71.83 kB / 249.4 MB, free: 9.367 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.005755, allocations: 43.84 kB / 249.4 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.005797, allocations: 31.88 kB / 249.5 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.006014, allocations: 175.3 kB / 249.6 MB, free: 9.121 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.006025, allocations: 4 kB / 249.6 MB, free: 9.117 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.006027, allocations: 3.984 kB / 249.7 MB, free: 9.113 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.986e-06/0.006036, allocations: 0 / 249.7 MB, free: 9.113 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004932/0.006529, allocations: 480.8 kB / 250.1 MB, free: 8.613 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.006556, allocations: 12.03 kB / 250.1 MB, free: 8.602 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.006597, allocations: 28.89 kB / 250.2 MB, free: 8.574 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.006794, allocations: 204.7 kB / 250.4 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.006809, allocations: 4.375 kB / 250.4 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.006822, allocations: 4.375 kB / 250.4 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.007002, allocations: 157.5 kB / 250.5 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.007009, allocations: 0 / 250.5 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.007017, allocations: 4 kB / 250.5 MB, free: 8.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.007023, allocations: 0 / 250.5 MB, free: 8.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.358e-05/0.007056, allocations: 22.75 kB / 250.5 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.007293, allocations: 211.5 kB / 250.8 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.007406, allocations: 137.4 kB / 250.9 MB, free: 7.742 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.007434, allocations: 38.44 kB / 250.9 MB, free: 7.695 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.00745, allocations: 4 kB / 250.9 MB, free: 7.691 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.648e-05/0.007537, allocations: 70.19 kB / 251 MB, free: 7.609 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.007538, allocations: 0 / 251 MB, free: 7.609 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.000132/0.00767, allocations: 89.53 kB / 251.1 MB, free: 7.516 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.007707, allocations: 106.8 kB / 251.2 MB, free: 7.387 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.007851, allocations: 258.7 kB / 251.4 MB, free: 7.121 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.007865, allocations: 29.95 kB / 251.5 MB, free: 7.086 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.007906, allocations: 108.6 kB / 251.6 MB, free: 6.977 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.007924, allocations: 15.88 kB / 251.6 MB, free: 6.961 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.007953, allocations: 25.67 kB / 251.6 MB, free: 6.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.008025, allocations: 338.8 kB / 252 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.008039, allocations: 6.828 kB / 252 MB, free: 6.582 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.008071, allocations: 56.25 kB / 252 MB, free: 6.512 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/0.008116, allocations: 39.3 kB / 252.1 MB, free: 6.465 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.008117, allocations: 0 / 252.1 MB, free: 6.465 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.925e-05/0.008187, allocations: 76.47 kB / 252.1 MB, free: 6.383 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.008197, allocations: 7.938 kB / 252.1 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.0082, allocations: 0 / 252.1 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.00821, allocations: 0 / 252.1 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.008273, allocations: 15.98 kB / 252.1 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.008276, allocations: 4.312 kB / 252.2 MB, free: 6.355 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.008307, allocations: 7.875 kB / 252.2 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.008317, allocations: 15.98 kB / 252.2 MB, free: 6.332 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.951e-05/0.008376, allocations: 112.7 kB / 252.3 MB, free: 6.211 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.008417, allocations: 61.59 kB / 252.3 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.549e-05/0.008513, allocations: 75.44 kB / 252.4 MB, free: 6.066 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.008515, allocations: 0 / 252.4 MB, free: 6.066 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.008517, allocations: 4 kB / 252.4 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.00852, allocations: 0 / 252.4 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.521e-05/0.008606, allocations: 113.8 kB / 252.5 MB, free: 5.934 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.008607, allocations: 4 kB / 252.5 MB, free: 5.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.008646, allocations: 19.92 kB / 252.6 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.008684, allocations: 31.77 kB / 252.6 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008686, allocations: 4 kB / 252.6 MB, free: 5.875 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.008692, allocations: 8.062 kB / 252.6 MB, free: 5.867 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.008694, allocations: 4 kB / 252.6 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.008696, allocations: 0 / 252.6 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.719e-05/0.008773, allocations: 104.4 kB / 252.7 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.008791, allocations: 11.94 kB / 252.7 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.649e-05/0.008818, allocations: 0 / 252.7 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.00885, allocations: 15.97 kB / 252.7 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.008861, allocations: 7.984 kB / 252.7 MB, free: 5.699 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.121e-05/0.008932, allocations: 101.6 kB / 252.8 MB, free: 5.594 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008932, allocations: 0 / 252.8 MB, free: 5.594 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001391/0.009071, allocations: 35.92 kB / 252.9 MB, free: 5.559 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001043/0.01011, allocations: 0.5431 MB / 253.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.14e-05/0.01021, allocations: 48.72 kB / 253.5 MB, free: 5.191 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.01021, allocations: 4 kB / 253.5 MB, free: 5.188 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.01025, allocations: 28.81 kB / 253.5 MB, free: 5.156 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.0105, allocations: 328.5 kB / 253.8 MB, free: 4.781 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.01096, allocations: 343.5 kB / 254.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.537e-05/0.011, allocations: 79.97 kB / 254.2 MB, free: 4.312 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.49e-05/0.01105, allocations: 17.48 kB / 254.3 MB, free: 4.297 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.221e-05/0.01113, allocations: 83.36 kB / 254.3 MB, free: 4.215 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01113, allocations: 0 / 254.3 MB, free: 4.215 MB / 250.7 MB Notification: Performance of Templates: time 0.004363/0.01549, allocations: 3.215 MB / 257.5 MB, free: 1.047 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.583134119398892]