Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 43.94 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2232, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003573/0.2268, allocations: 1.884 MB / 434.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.2289, allocations: 1.196 MB / 435.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.229, allocations: 3.938 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.2293, allocations: 75.66 kB / 435.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.2296, allocations: 127.4 kB / 435.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.2302, allocations: 238.4 kB / 435.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.2305, allocations: 179.5 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2306, allocations: 28.69 kB / 436 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.2307, allocations: 79.62 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.2308, allocations: 87.61 kB / 436.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.2308, allocations: 8 kB / 436.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.231, allocations: 71.95 kB / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.923e-05/0.2311, allocations: 59.75 kB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.167e-05/0.2312, allocations: 55.61 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.2315, allocations: 238.7 kB / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2315, allocations: 4 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2315, allocations: 3.938 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2315, allocations: 4 kB / 436.6 MB, free: 2.418 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.0008007/0.2323, allocations: 478.5 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2324, allocations: 8.031 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.2324, allocations: 24.8 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.2329, allocations: 225.5 kB / 437.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.2329, allocations: 8.312 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.2329, allocations: 12.06 kB / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.2333, allocations: 188.4 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2333, allocations: 0 / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.2333, allocations: 4 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2333, allocations: 0 / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.2334, allocations: 31.98 kB / 437.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.234, allocations: 326 kB / 437.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.2342, allocations: 115.9 kB / 438 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2343, allocations: 50.56 kB / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2343, allocations: 0 / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.2345, allocations: 79.31 kB / 438.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2345, allocations: 0 / 438.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004069/0.2349, allocations: 157.4 kB / 438.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.235, allocations: 140.5 kB / 438.5 MB, free: 404 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.2354, allocations: 333.9 kB / 438.8 MB, free: 64 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.2354, allocations: 33.95 kB / 438.8 MB, free: 24 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.2356, allocations: 132.1 kB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.2356, allocations: 23.77 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.2357, allocations: 29.72 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2358, allocations: 334.8 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.2359, allocations: 23.98 kB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.236, allocations: 137.4 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.2362, allocations: 88.25 kB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2362, allocations: 0 / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002504/0.2364, allocations: 133.3 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2365, allocations: 4 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2365, allocations: 4 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2365, allocations: 0 / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.2366, allocations: 24.3 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2366, allocations: 0 / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.988e-05/0.2367, allocations: 12.06 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2367, allocations: 8 kB / 439.7 MB, free: 15.02 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.0001415/0.2368, allocations: 153.8 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.2369, allocations: 73.44 kB / 440 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.2372, allocations: 127.4 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2372, allocations: 4 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2372, allocations: 0 / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2372, allocations: 0 / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.2374, allocations: 189.1 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2374, allocations: 4.062 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.2375, allocations: 15.94 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2375, allocations: 0 / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.2375, allocations: 7.984 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2375, allocations: 0 / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2375, allocations: 4 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.2378, allocations: 174.5 kB / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.2379, allocations: 31.84 kB / 440.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.2379, allocations: 11.98 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.238, allocations: 0 / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.2381, allocations: 15.98 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.2381, allocations: 4 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.2383, allocations: 249.2 kB / 440.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2383, allocations: 0 / 440.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.2386, allocations: 36.03 kB / 440.8 MB, free: 13.86 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.001597/0.2402, allocations: 461.1 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.2404, allocations: 79.97 kB / 441.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2404, allocations: 4.062 kB / 441.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.126e-05/0.2405, allocations: 27.98 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.2409, allocations: 63.48 kB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.2415, allocations: 384.8 kB / 441.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.2417, allocations: 128.1 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.291e-05/0.2417, allocations: 29.62 kB / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.2418, allocations: 23.42 kB / 442 MB, free: 12.81 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2418, allocations: 0 / 442 MB, free: 12.81 MB / 350.1 MB Notification: Performance of Templates: time 0.006831/0.2486, allocations: 3.13 MB / 445.1 MB, free: 9.719 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.352027907007141]