Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001315/0.001315, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.001527/0.001527, allocations: 202.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 59.84 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2888, allocations: 53.32 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003696/0.2925, allocations: 1.926 MB / 434 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.2948, allocations: 1.294 MB / 435.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.2949, allocations: 4 kB / 435.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.2952, allocations: 67.67 kB / 435.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.2956, allocations: 131.4 kB / 435.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.2963, allocations: 226.3 kB / 435.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.2966, allocations: 179.5 kB / 435.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2967, allocations: 21.55 kB / 435.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.2968, allocations: 75.62 kB / 435.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.297, allocations: 83.67 kB / 436 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.297, allocations: 8 kB / 436 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.2971, allocations: 67.95 kB / 436.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.2972, allocations: 59.7 kB / 436.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.2974, allocations: 79.47 kB / 436.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.2977, allocations: 240.6 kB / 436.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2978, allocations: 4 kB / 436.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2978, allocations: 0 / 436.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2978, allocations: 0 / 436.5 MB, free: 2.926 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.0008537/0.2986, allocations: 0.5464 MB / 437 MB, free: 2.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2987, allocations: 12.03 kB / 437 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.2987, allocations: 24.73 kB / 437.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.2992, allocations: 295.8 kB / 437.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2992, allocations: 8.375 kB / 437.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.2992, allocations: 16.12 kB / 437.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.2996, allocations: 155.5 kB / 437.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2996, allocations: 0 / 437.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2996, allocations: 4 kB / 437.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.2996, allocations: 0 / 437.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.2997, allocations: 39.97 kB / 437.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.3003, allocations: 386.3 kB / 437.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.3006, allocations: 107.9 kB / 438.1 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.3007, allocations: 50.55 kB / 438.1 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.3007, allocations: 3.984 kB / 438.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.3009, allocations: 83.33 kB / 438.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.3009, allocations: 3.938 kB / 438.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004271/0.3013, allocations: 149.4 kB / 438.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.3015, allocations: 162.2 kB / 438.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.3018, allocations: 342.9 kB / 438.8 MB, free: 308 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3019, allocations: 25.7 kB / 438.9 MB, free: 276 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.302, allocations: 132.1 kB / 439 MB, free: 140 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.302, allocations: 27.89 kB / 439 MB, free: 112 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.3021, allocations: 25.72 kB / 439 MB, free: 80 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3023, allocations: 338.8 kB / 439.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.3023, allocations: 23.98 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3025, allocations: 86.84 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3026, allocations: 80.22 kB / 439.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.3026, allocations: 8 kB / 439.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000238/0.3029, allocations: 121.7 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3029, allocations: 10.81 kB / 439.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3029, allocations: 0 / 439.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3029, allocations: 0 / 439.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.303, allocations: 23.98 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.303, allocations: 7.938 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.983e-05/0.3031, allocations: 11.94 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3031, allocations: 12.11 kB / 439.7 MB, free: 15.32 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.0001505/0.3033, allocations: 142.3 kB / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3034, allocations: 81.44 kB / 440 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.3037, allocations: 111.4 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3037, allocations: 0 / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3037, allocations: 3.938 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3037, allocations: 7.938 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.3039, allocations: 245.6 kB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3039, allocations: 3.938 kB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.304, allocations: 11.94 kB / 440.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.304, allocations: 7.984 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.304, allocations: 4 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.304, allocations: 4 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.304, allocations: 0 / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.3043, allocations: 166.5 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.3044, allocations: 113 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.3045, allocations: 7.984 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.3045, allocations: 4 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.3046, allocations: 11.98 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.3046, allocations: 7.938 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.3049, allocations: 241.9 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3049, allocations: 0 / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.3051, allocations: 43.92 kB / 440.9 MB, free: 14.01 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 (9): * Single equations (assignments): 7 * 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.001513/0.3066, allocations: 425.5 kB / 441.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.3069, allocations: 71.84 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3069, allocations: 0 / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.242e-05/0.307, allocations: 27.98 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.3074, allocations: 64.56 kB / 441.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007389/0.3082, allocations: 433.8 kB / 441.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.3086, allocations: 0.7397 MB / 442.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.3086, allocations: 19.44 kB / 442.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3086, allocations: 4 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Templates: time 0.005655/0.3143, allocations: 2.964 MB / 445.7 MB, free: 9.391 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.495655240956694]