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.001782/0.001782, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002195/0.002195, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.468/1.468, allocations: 230.5 MB / 258.1 MB, free: 7.766 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.001916/0.001916, allocations: 67.91 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2783, allocations: 53.41 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.00394/0.2823, allocations: 1.868 MB / 434.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.2847, allocations: 1.204 MB / 435.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.2848, allocations: 7.938 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.2852, allocations: 67.67 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004293/0.2856, allocations: 135.4 kB / 435.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007708/0.2864, allocations: 242.3 kB / 435.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.2867, allocations: 179.5 kB / 436.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.2869, allocations: 20.7 kB / 436.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.287, allocations: 79.62 kB / 436.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.2871, allocations: 79.67 kB / 436.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.2872, allocations: 8 kB / 436.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.2873, allocations: 71.89 kB / 436.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.134e-05/0.2874, allocations: 55.81 kB / 436.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.8e-05/0.2875, allocations: 59.55 kB / 436.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.2879, allocations: 246.7 kB / 436.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2879, allocations: 8 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2879, allocations: 0 / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.2879, allocations: 0 / 436.7 MB, free: 2.219 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.0007667/0.2887, allocations: 474.5 kB / 437.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.2887, allocations: 11.98 kB / 437.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.2888, allocations: 24.8 kB / 437.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.2892, allocations: 237.5 kB / 437.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2892, allocations: 384 / 437.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.2893, allocations: 16.36 kB / 437.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.2897, allocations: 184.7 kB / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2897, allocations: 0 / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2897, allocations: 0 / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2897, allocations: 0 / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.2898, allocations: 39.92 kB / 437.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.2903, allocations: 318.1 kB / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.2906, allocations: 123.9 kB / 438.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.2907, allocations: 46.5 kB / 438.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.2907, allocations: 3.984 kB / 438.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.2909, allocations: 75.39 kB / 438.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2909, allocations: 0 / 438.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004147/0.2913, allocations: 161.4 kB / 438.4 MB, free: 364 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.2914, allocations: 140.8 kB / 438.5 MB, free: 192 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.2918, allocations: 333.9 kB / 438.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.2918, allocations: 29.7 kB / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.2919, allocations: 128.1 kB / 439 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.292, allocations: 23.83 kB / 439 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.292, allocations: 37.64 kB / 439 MB, free: 15.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2922, allocations: 330.8 kB / 439.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.2923, allocations: 23.98 kB / 439.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.2924, allocations: 133.4 kB / 439.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.2926, allocations: 88.25 kB / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2926, allocations: 3.938 kB / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002525/0.2928, allocations: 133.4 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2928, allocations: 4 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2928, allocations: 4 kB / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2929, allocations: 0 / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.293, allocations: 28.05 kB / 439.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.293, allocations: 0 / 439.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.323e-05/0.2931, allocations: 4.312 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.2931, allocations: 8 kB / 439.8 MB, free: 14.82 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.0001563/0.2932, allocations: 157.8 kB / 439.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/0.2933, allocations: 69.45 kB / 440 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.2936, allocations: 127.4 kB / 440.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2936, allocations: 4 kB / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2936, allocations: 4.062 kB / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2936, allocations: 3.938 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.2938, allocations: 185.1 kB / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2938, allocations: 0 / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.935e-05/0.2939, allocations: 15.98 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2939, allocations: 0 / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.2939, allocations: 4 kB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2939, allocations: 0 / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2939, allocations: 0 / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.2942, allocations: 182.6 kB / 440.5 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.472e-05/0.2943, allocations: 39.83 kB / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.2943, allocations: 7.938 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.2944, allocations: 8 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.2945, allocations: 7.984 kB / 440.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.2945, allocations: 4 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002632/0.2947, allocations: 253.2 kB / 440.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2947, allocations: 0 / 440.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.295, allocations: 35.94 kB / 440.9 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,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.001666/0.2967, allocations: 454.9 kB / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.2969, allocations: 75.89 kB / 441.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2969, allocations: 0 / 441.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.382e-05/0.297, allocations: 27.98 kB / 441.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.2974, allocations: 74.62 kB / 441.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.2981, allocations: 410.6 kB / 441.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.2983, allocations: 136.3 kB / 442 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/0.2983, allocations: 23.44 kB / 442.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2983, allocations: 0 / 442.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of Templates: time 0.005527/0.3039, allocations: 3.014 MB / 445.1 MB, free: 9.555 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/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: 7.311582665424794]