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.001136/0.001136, allocations: 85.91 kB / 21.43 MB, free: 3.066 MB / 18.57 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.001458/0.001458, allocations: 161.5 kB / 24.82 MB, free: 8.875 MB / 18.57 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.061/1.061, allocations: 177 MB / 205.1 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.723e-06/1.723e-06, allocations: 0 / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.662e-05, allocations: 9.266 kB / 273.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.002725/0.002751, allocations: 1.936 MB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.004481, allocations: 1.219 MB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.00466, allocations: 7.938 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.00503, allocations: 63.67 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.00541, allocations: 147.2 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.006028, allocations: 219.2 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.006291, allocations: 187.4 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.006399, allocations: 25.78 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.006553, allocations: 99.78 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.006666, allocations: 67.8 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.006695, allocations: 15.94 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.006859, allocations: 67.88 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.787e-05/0.006937, allocations: 59.77 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.006986, allocations: 35.86 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.007263, allocations: 191.2 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.007267, allocations: 0 / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007268, allocations: 0 / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.007272, allocations: 0 / 277.6 MB, free: 12.85 MB / 266.7 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.000564/0.007836, allocations: 0.5672 MB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.007873, allocations: 15.98 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.007927, allocations: 32.78 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.008157, allocations: 223.6 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.008175, allocations: 4.375 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.008186, allocations: 4.375 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.008416, allocations: 153.2 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.008423, allocations: 192 / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.008431, allocations: 384 / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.008438, allocations: 11.88 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.008477, allocations: 19.92 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.00886, allocations: 323.7 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.009, allocations: 117.3 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.877e-05/0.009039, allocations: 43.05 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.00906, allocations: 4 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.00916, allocations: 68.98 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.896e-06/0.009163, allocations: 3.984 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002166/0.00938, allocations: 125.4 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.00943, allocations: 102.8 kB / 279.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.009657, allocations: 320.4 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.009677, allocations: 33.7 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.009761, allocations: 182.8 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.009786, allocations: 23.88 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.009826, allocations: 31.36 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.009962, allocations: 0.504 MB / 280.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.009989, allocations: 8.234 kB / 280.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.386e-05/0.01003, allocations: 60.77 kB / 280.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/0.01008, allocations: 51.28 kB / 280.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01009, allocations: 0 / 280.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.991e-05/0.01019, allocations: 89.45 kB / 280.7 MB, free: 9.461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.0102, allocations: 11.12 kB / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01021, allocations: 0 / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.01022, allocations: 0 / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.131e-05/0.01029, allocations: 11.98 kB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.01029, allocations: 4 kB / 280.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.864e-05/0.01033, allocations: 4 kB / 280.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.01033, allocations: 4 kB / 280.8 MB, free: 9.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.209e-05/0.01042, allocations: 164.6 kB / 280.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.01048, allocations: 69.47 kB / 281 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.01063, allocations: 99.38 kB / 281.1 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01064, allocations: 0 / 281.1 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.01064, allocations: 7.938 kB / 281.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.01064, allocations: 3.984 kB / 281.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.01078, allocations: 153.1 kB / 281.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01078, allocations: 0 / 281.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.01083, allocations: 15.98 kB / 281.3 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01084, allocations: 0 / 281.3 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.01084, allocations: 8.062 kB / 281.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.01085, allocations: 4 kB / 281.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.01085, allocations: 4.234 kB / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.011, allocations: 155.6 kB / 281.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.01105, allocations: 39.83 kB / 281.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01108, allocations: 0 / 281.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.01111, allocations: 7.938 kB / 281.5 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.01116, allocations: 11.98 kB / 281.5 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01117, allocations: 4 kB / 281.5 MB, free: 8.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.01129, allocations: 217.1 kB / 281.7 MB, free: 8.402 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01129, allocations: 4 kB / 281.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.01149, allocations: 35.92 kB / 281.7 MB, free: 8.363 MB / 266.7 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.0008629/0.01235, allocations: 394.8 kB / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.01248, allocations: 43.59 kB / 282.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01248, allocations: 0 / 282.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.01253, allocations: 31.61 kB / 282.2 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.01282, allocations: 65.12 kB / 282.3 MB, free: 7.938 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.01326, allocations: 345.1 kB / 282.6 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.307e-05/0.01331, allocations: 87.91 kB / 282.7 MB, free: 7.461 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.01337, allocations: 25.88 kB / 282.7 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.843e-05/0.01347, allocations: 102.2 kB / 282.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01347, allocations: 0 / 282.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of Templates: time 0.005458/0.01893, allocations: 3.15 MB / 286 MB, free: 4.234 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.924780482891947]