Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001381/0.001381, allocations: 87.58 kB / 21.19 MB, free: 3.371 MB / 18.57 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.00122/0.00122, allocations: 165 kB / 24.56 MB, free: 4 kB / 18.57 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.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.74e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002715/0.002742, allocations: 1.947 MB / 274.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.004438, allocations: 1.266 MB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.00457, allocations: 3.938 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.004913, allocations: 79.52 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.005285, allocations: 131.4 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.005889, allocations: 231.1 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.006148, allocations: 187.4 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.006267, allocations: 17.75 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.006414, allocations: 107.7 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.006538, allocations: 67.8 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.00656, allocations: 8 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.00673, allocations: 71.94 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.293e-05/0.006813, allocations: 51.83 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.006875, allocations: 47.78 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.00718, allocations: 179.3 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.007186, allocations: 3.984 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007187, allocations: 11.88 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.007194, allocations: 0 / 277.4 MB, free: 13.13 MB / 266.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.0006782/0.007872, allocations: 0.5672 MB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.007911, allocations: 12.03 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.00798, allocations: 24.8 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.008264, allocations: 239.4 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.008288, allocations: 4.375 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.008303, allocations: 8.375 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.008601, allocations: 149.3 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.008611, allocations: 3.938 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.008623, allocations: 0 / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.008632, allocations: 4 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.592e-05/0.008688, allocations: 27.92 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.009107, allocations: 363 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.009275, allocations: 121.3 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.009323, allocations: 47.05 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.009341, allocations: 0 / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.00946, allocations: 76.98 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.009461, allocations: 4 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002517/0.009713, allocations: 121.5 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.009769, allocations: 114.8 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.01001, allocations: 320.3 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.01004, allocations: 33.7 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.01016, allocations: 182.8 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.01019, allocations: 15.84 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.01024, allocations: 31.36 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.01042, allocations: 0.5043 MB / 280.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.01046, allocations: 19.98 kB / 280.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.01052, allocations: 68.73 kB / 280.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.68e-05/0.01059, allocations: 47.25 kB / 280.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01059, allocations: 0 / 280.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001152/0.0107, allocations: 81.55 kB / 280.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01072, allocations: 8 kB / 280.5 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01073, allocations: 3.984 kB / 280.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.01075, allocations: 3.938 kB / 280.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.01085, allocations: 20 kB / 280.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.01085, allocations: 0 / 280.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.0109, allocations: 8 kB / 280.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.0109, allocations: 3.984 kB / 280.5 MB, free: 9.617 MB / 266.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 9.18e-05/0.01099, allocations: 165.6 kB / 280.7 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.68e-05/0.01106, allocations: 69.5 kB / 280.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.01122, allocations: 99.42 kB / 280.9 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01122, allocations: 3.984 kB / 280.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01123, allocations: 12.06 kB / 280.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.01123, allocations: 0 / 280.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.01138, allocations: 196.5 kB / 281.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.01138, allocations: 0 / 281.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.01144, allocations: 19.92 kB / 281.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.01144, allocations: 0 / 281.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.01145, allocations: 0 / 281.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.01145, allocations: 4 kB / 281.1 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01145, allocations: 0 / 281.1 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.01161, allocations: 175.5 kB / 281.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.01167, allocations: 35.78 kB / 281.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.01169, allocations: 8 kB / 281.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.01173, allocations: 4 kB / 281.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.01178, allocations: 11.98 kB / 281.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.0118, allocations: 7.984 kB / 281.3 MB, free: 8.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.01195, allocations: 225.1 kB / 281.6 MB, free: 8.512 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01195, allocations: 0 / 281.6 MB, free: 8.512 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.01216, allocations: 28 kB / 281.6 MB, free: 8.484 MB / 266.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.0009597/0.01312, allocations: 398 kB / 282 MB, free: 8.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.01326, allocations: 51.55 kB / 282 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01326, allocations: 3.938 kB / 282 MB, free: 8.172 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.01331, allocations: 31.61 kB / 282.1 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.0136, allocations: 68.5 kB / 282.1 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.01403, allocations: 345.1 kB / 282.5 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.041e-05/0.01408, allocations: 83.97 kB / 282.5 MB, free: 7.598 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.229e-05/0.01413, allocations: 29.73 kB / 282.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.01418, allocations: 28.48 kB / 282.6 MB, free: 7.543 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01418, allocations: 192 / 282.6 MB, free: 7.543 MB / 266.7 MB Notification: Performance of Templates: time 0.00539/0.01957, allocations: 3.1 MB / 285.7 MB, free: 4.484 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8605560888536274]