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.001826/0.001826, allocations: 121.3 kB / 19.18 MB, free: 3.852 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.002283/0.002283, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.494/1.494, allocations: 230.4 MB / 255.4 MB, free: 15.02 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.00222/0.00222, allocations: 79.8 kB / 374.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1083, allocations: 53.31 MB / 428.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003742/0.112, allocations: 1.905 MB / 430 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.1144, allocations: 1.282 MB / 431.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.1145, allocations: 7.938 kB / 431.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.1149, allocations: 71.66 kB / 431.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.1153, allocations: 131.4 kB / 431.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007461/0.1161, allocations: 226.8 kB / 431.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.1164, allocations: 179.5 kB / 431.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1165, allocations: 21.55 kB / 431.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1167, allocations: 75.64 kB / 431.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.1168, allocations: 87.66 kB / 432 MB, free: 472 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1168, allocations: 11.94 kB / 432 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.117, allocations: 67.95 kB / 432.1 MB, free: 392 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.1171, allocations: 51.83 kB / 432.2 MB, free: 340 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1172, allocations: 79.42 kB / 432.2 MB, free: 260 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.1176, allocations: 246.9 kB / 432.5 MB, free: 12 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1176, allocations: 0 / 432.5 MB, free: 12 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1176, allocations: 0 / 432.5 MB, free: 12 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1176, allocations: 3.984 kB / 432.5 MB, free: 8 kB / 350.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.1835/0.3012, allocations: 0.5338 MB / 433 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3012, allocations: 9.047 kB / 433 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.86e-05/0.3013, allocations: 23.98 kB / 433 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.3018, allocations: 300.3 kB / 433.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3018, allocations: 4.5 kB / 433.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.3018, allocations: 10.41 kB / 433.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.3021, allocations: 162.2 kB / 433.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3021, allocations: 3.281 kB / 433.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.3022, allocations: 4.562 kB / 433.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3022, allocations: 2.125 kB / 433.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.3023, allocations: 33.73 kB / 433.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.3028, allocations: 383.3 kB / 433.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.303, allocations: 117.3 kB / 434 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.3031, allocations: 44.69 kB / 434.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.3031, allocations: 7.109 kB / 434.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.3033, allocations: 79.11 kB / 434.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.3033, allocations: 3.5 kB / 434.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003838/0.3037, allocations: 150.4 kB / 434.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.3037, allocations: 163.7 kB / 434.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.3041, allocations: 332.7 kB / 434.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3041, allocations: 31.42 kB / 434.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.3041, allocations: 132.2 kB / 435 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.3042, allocations: 21.89 kB / 435 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.3042, allocations: 37.06 kB / 435 MB, free: 10.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.3043, allocations: 334.3 kB / 435.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.136e-05/0.3043, allocations: 24.34 kB / 435.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.891e-05/0.3044, allocations: 82.31 kB / 435.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.3046, allocations: 88.56 kB / 435.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3046, allocations: 2.438 kB / 435.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002155/0.3048, allocations: 127.5 kB / 435.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3048, allocations: 7.594 kB / 435.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3048, allocations: 5.969 kB / 435.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3048, allocations: 3.844 kB / 435.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3049, allocations: 18.42 kB / 435.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3049, allocations: 1.219 kB / 435.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.365e-05/0.305, allocations: 10.58 kB / 435.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.305, allocations: 6.688 kB / 435.7 MB, free: 9.648 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.0001129/0.3051, allocations: 156.9 kB / 435.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.606e-05/0.3052, allocations: 73.22 kB / 435.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.3053, allocations: 24.34 kB / 436 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3053, allocations: 2.266 kB / 436 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3053, allocations: 1.094 kB / 436 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3053, allocations: 4.375 kB / 436 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.3054, allocations: 246.2 kB / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3054, allocations: 0 / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.3055, allocations: 12.08 kB / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3055, allocations: 0 / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3055, allocations: 5.781 kB / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3055, allocations: 4.578 kB / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3055, allocations: 3.328 kB / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.3057, allocations: 166.8 kB / 436.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/0.3058, allocations: 122.1 kB / 436.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.3059, allocations: 3.578 kB / 436.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.3059, allocations: 14.22 kB / 436.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.306, allocations: 9.219 kB / 436.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.306, allocations: 4.922 kB / 436.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.3062, allocations: 247.5 kB / 436.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3062, allocations: 0 / 436.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000287/0.3065, allocations: 33.97 kB / 436.8 MB, free: 8.988 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001485/0.308, allocations: 422 kB / 437.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.3082, allocations: 75.7 kB / 437.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3082, allocations: 0 / 437.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.3083, allocations: 25.97 kB / 437.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.3087, allocations: 63.38 kB / 437.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.3093, allocations: 410.2 kB / 437.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.3095, allocations: 0.7382 MB / 438.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.3096, allocations: 25.61 kB / 438.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3096, allocations: 3.938 kB / 438.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of Templates: time 0.006352/0.3159, allocations: 2.973 MB / 441.5 MB, free: 7.582 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/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_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.3757109709549695]