Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.001335/0.001335, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001529/0.001529, allocations: 216.4 kB / 23.73 MB, free: 4.531 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.529/1.529, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 63.89 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2747, allocations: 53.4 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003604/0.2783, allocations: 1.876 MB / 433.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.2805, allocations: 1.211 MB / 434.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.2807, allocations: 7.938 kB / 434.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.281, allocations: 63.66 kB / 434.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.2814, allocations: 139.4 kB / 434.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.2821, allocations: 226.2 kB / 435.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.2824, allocations: 183.5 kB / 435.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2825, allocations: 21.67 kB / 435.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.2826, allocations: 83.62 kB / 435.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.2828, allocations: 75.67 kB / 435.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.2828, allocations: 12 kB / 435.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.283, allocations: 71.94 kB / 435.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.955e-05/0.2831, allocations: 55.72 kB / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.407e-05/0.2832, allocations: 55.61 kB / 435.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.2836, allocations: 245.3 kB / 435.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2836, allocations: 4 kB / 435.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2836, allocations: 0 / 435.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.2836, allocations: 0 / 435.9 MB, free: 2.199 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.0008541/0.2844, allocations: 490.3 kB / 436.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2845, allocations: 11.98 kB / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.2845, allocations: 24.8 kB / 436.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.285, allocations: 225.5 kB / 436.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.285, allocations: 4.375 kB / 436.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.285, allocations: 16.31 kB / 436.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.2854, allocations: 176.7 kB / 436.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2854, allocations: 0 / 436.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2855, allocations: 0 / 436.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2855, allocations: 4 kB / 436.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.2856, allocations: 43.95 kB / 436.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.2862, allocations: 322 kB / 437.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.2864, allocations: 119.9 kB / 437.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.303e-05/0.2865, allocations: 42.56 kB / 437.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.2866, allocations: 4 kB / 437.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.2867, allocations: 87.31 kB / 437.5 MB, free: 496 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2867, allocations: 0 / 437.5 MB, free: 496 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004252/0.2872, allocations: 157.4 kB / 437.6 MB, free: 332 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.2873, allocations: 136.7 kB / 437.7 MB, free: 164 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.2877, allocations: 338 kB / 438.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2877, allocations: 29.69 kB / 438.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2878, allocations: 136 kB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.2878, allocations: 19.84 kB / 438.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.2879, allocations: 29.7 kB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.288, allocations: 338.8 kB / 438.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/0.2881, allocations: 23.98 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2883, allocations: 133.4 kB / 438.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.2884, allocations: 84.25 kB / 438.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2884, allocations: 0 / 438.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002454/0.2887, allocations: 129.4 kB / 439 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2887, allocations: 8 kB / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2887, allocations: 0 / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.2887, allocations: 7.984 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.2888, allocations: 12 kB / 439 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.2888, allocations: 8.125 kB / 439 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.2889, allocations: 11.92 kB / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.2889, allocations: 8 kB / 439 MB, free: 14.78 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,subSample1.y,subSample1.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.0001583/0.2891, allocations: 149.8 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2892, allocations: 73.44 kB / 439.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.2895, allocations: 127.6 kB / 439.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.2895, allocations: 0 / 439.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2895, allocations: 4 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.2895, allocations: 12 kB / 439.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.2897, allocations: 185.1 kB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2897, allocations: 0 / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.2898, allocations: 15.94 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2898, allocations: 0 / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2898, allocations: 0 / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2898, allocations: 11.92 kB / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2898, allocations: 0 / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.2901, allocations: 174.5 kB / 439.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-05/0.2902, allocations: 35.84 kB / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.2902, allocations: 8 kB / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.2903, allocations: 11.98 kB / 439.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.2904, allocations: 7.984 kB / 439.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.2904, allocations: 4 kB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00026/0.2906, allocations: 245.2 kB / 440.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2906, allocations: 4 kB / 440.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.2909, allocations: 35.92 kB / 440.1 MB, free: 13.62 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,subSample1.y,sample1.y,subSample1.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.001701/0.2926, allocations: 443.3 kB / 440.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.2929, allocations: 79.84 kB / 440.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2929, allocations: 0 / 440.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.293, allocations: 31.97 kB / 440.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.2934, allocations: 74.66 kB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006662/0.294, allocations: 384.2 kB / 441.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.2942, allocations: 140.3 kB / 441.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.842e-05/0.2943, allocations: 21.48 kB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.2943, allocations: 27.42 kB / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2943, allocations: 0 / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of Templates: time 0.007865/0.3022, allocations: 3.107 MB / 444.4 MB, free: 9.465 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.686400678008795]