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.001342/0.001342, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001459/0.001459, allocations: 211.9 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.59/1.59, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002203/0.002203, allocations: 63.89 kB / 378.2 MB, free: 2.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2669, allocations: 53.41 MB / 431.6 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003865/0.2707, allocations: 1.876 MB / 433.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.2734, allocations: 1.231 MB / 434.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.2736, allocations: 7.938 kB / 434.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.274, allocations: 67.67 kB / 434.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.2744, allocations: 135.4 kB / 434.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.2751, allocations: 234.7 kB / 435.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.2753, allocations: 183.5 kB / 435.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2755, allocations: 17.73 kB / 435.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.2756, allocations: 79.7 kB / 435.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.2757, allocations: 87.59 kB / 435.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.2758, allocations: 12 kB / 435.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.2759, allocations: 71.94 kB / 435.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.909e-05/0.276, allocations: 51.78 kB / 435.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.2761, allocations: 55.61 kB / 435.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.2765, allocations: 245.2 kB / 436 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2765, allocations: 0 / 436 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2765, allocations: 0 / 436 MB, free: 2.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2765, allocations: 0 / 436 MB, free: 2.227 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000852/0.2774, allocations: 490.4 kB / 436.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.2774, allocations: 11.98 kB / 436.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.2775, allocations: 28.8 kB / 436.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.278, allocations: 225.5 kB / 436.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.278, allocations: 8.375 kB / 436.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.278, allocations: 4.375 kB / 436.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.2784, allocations: 188.7 kB / 436.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2784, allocations: 0 / 436.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.2784, allocations: 8 kB / 436.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2784, allocations: 0 / 436.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.2786, allocations: 43.91 kB / 436.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.2791, allocations: 318.1 kB / 437.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.2793, allocations: 115.8 kB / 437.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/0.2794, allocations: 46.55 kB / 437.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.2795, allocations: 8 kB / 437.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.2796, allocations: 75.38 kB / 437.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.2796, allocations: 0 / 437.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004325/0.2801, allocations: 161.4 kB / 437.6 MB, free: 356 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.2802, allocations: 140.5 kB / 437.8 MB, free: 184 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.2806, allocations: 329.9 kB / 438.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.2806, allocations: 29.7 kB / 438.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2807, allocations: 136.3 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.2807, allocations: 19.84 kB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.2808, allocations: 29.7 kB / 438.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.281, allocations: 342.8 kB / 438.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.281, allocations: 20 kB / 438.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.2812, allocations: 137.3 kB / 438.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.2814, allocations: 88.2 kB / 438.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2814, allocations: 8.031 kB / 438.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002419/0.2816, allocations: 117.5 kB / 439 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2816, allocations: 8 kB / 439 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2817, allocations: 0 / 439 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2817, allocations: 4 kB / 439 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2818, allocations: 19.92 kB / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.2818, allocations: 7.984 kB / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.2819, allocations: 8 kB / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.2819, allocations: 4.438 kB / 439.1 MB, free: 14.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001613/0.282, allocations: 166.5 kB / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.2821, allocations: 69.45 kB / 439.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.2824, allocations: 127.4 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2824, allocations: 0 / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2825, allocations: 4 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.2825, allocations: 11.91 kB / 439.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.2827, allocations: 181.1 kB / 439.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2827, allocations: 0 / 439.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.672e-05/0.2828, allocations: 24.05 kB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2828, allocations: 0 / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2828, allocations: 0 / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2828, allocations: 4 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2828, allocations: 0 / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.2831, allocations: 174.5 kB / 439.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.2832, allocations: 39.83 kB / 439.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.2832, allocations: 4 kB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.2833, allocations: 4 kB / 439.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.2833, allocations: 11.98 kB / 439.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.2833, allocations: 8 kB / 439.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.2836, allocations: 249.2 kB / 440.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2836, allocations: 0 / 440.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.2839, allocations: 31.94 kB / 440.2 MB, free: 13.65 MB / 350.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: 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.001739/0.2856, allocations: 450.1 kB / 440.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.2859, allocations: 79.83 kB / 440.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2859, allocations: 256 / 440.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.286, allocations: 35.92 kB / 440.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.2864, allocations: 73.78 kB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007435/0.2872, allocations: 372.9 kB / 441.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.2873, allocations: 135.9 kB / 441.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.141e-05/0.2874, allocations: 29.81 kB / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/0.2875, allocations: 23.38 kB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2875, allocations: 0 / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Templates: time 0.007694/0.2951, allocations: 3.109 MB / 444.4 MB, free: 9.492 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.638524379581213]