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.001364/0.001364, allocations: 83.47 kB / 20.68 MB, free: 1.035 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.001448/0.001448, allocations: 157.5 kB / 23.95 MB, free: 4.168 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.467/1.467, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.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 2.144e-06/2.144e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.802e-05/4.016e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.00367/0.00371, allocations: 1.876 MB / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.006285, allocations: 1.213 MB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.006405, allocations: 7.219 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.006741, allocations: 60.22 kB / 328.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004496/0.007191, allocations: 143.9 kB / 328.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008112/0.008002, allocations: 227.2 kB / 328.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.008393, allocations: 182.8 kB / 328.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.008538, allocations: 25.55 kB / 328.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.008744, allocations: 97.55 kB / 328.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.008898, allocations: 72.17 kB / 328.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.008931, allocations: 9.531 kB / 328.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.009167, allocations: 75.97 kB / 329 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.009288, allocations: 51.14 kB / 329 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.013e-05/0.009378, allocations: 46.97 kB / 329.1 MB, free: 14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.009896, allocations: 245.3 kB / 329.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.009902, allocations: 0 / 329.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.009904, allocations: 0 / 329.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.00991, allocations: 1.344 kB / 329.3 MB, free: 13.9 MB / 302.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.0008851/0.0108, allocations: 471.1 kB / 329.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.01084, allocations: 17.02 kB / 329.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.01092, allocations: 24.48 kB / 329.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.01144, allocations: 234.4 kB / 330 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.01145, allocations: 3.625 kB / 330 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.01148, allocations: 9.625 kB / 330.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.01192, allocations: 177.5 kB / 330.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.01194, allocations: 4.828 kB / 330.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.01196, allocations: 5.422 kB / 330.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.01197, allocations: 5.031 kB / 330.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.01211, allocations: 38.95 kB / 330.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.01271, allocations: 320.4 kB / 330.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.01307, allocations: 114.8 kB / 330.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.01319, allocations: 47.31 kB / 330.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.01322, allocations: 5.875 kB / 330.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.01342, allocations: 85.06 kB / 330.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.01343, allocations: 0 / 330.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004929/0.01392, allocations: 161.1 kB / 331 MB, free: 12.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.01403, allocations: 131.8 kB / 331.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.01448, allocations: 334.7 kB / 331.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.0145, allocations: 27.92 kB / 331.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.01463, allocations: 138.4 kB / 331.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.01466, allocations: 18.03 kB / 331.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.01472, allocations: 26.61 kB / 331.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.01489, allocations: 329.4 kB / 332 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.01497, allocations: 30.86 kB / 332 MB, free: 11.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.01512, allocations: 123.5 kB / 332.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.01528, allocations: 54.3 kB / 332.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01528, allocations: 1.688 kB / 332.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002442/0.01553, allocations: 114.6 kB / 332.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01554, allocations: 4.875 kB / 332.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01555, allocations: 1.375 kB / 332.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.01557, allocations: 0.9375 kB / 332.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.01569, allocations: 13.64 kB / 332.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.0157, allocations: 5.125 kB / 332.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.01577, allocations: 11.41 kB / 332.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.01579, allocations: 2 kB / 332.3 MB, free: 11.39 MB / 302.1 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 0.0001672/0.01595, allocations: 156.9 kB / 332.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.01606, allocations: 65.19 kB / 332.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.01637, allocations: 132.2 kB / 332.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01638, allocations: 2.25 kB / 332.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.01638, allocations: 1.219 kB / 332.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.01639, allocations: 5.297 kB / 332.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.01664, allocations: 176.1 kB / 332.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01664, allocations: 1.375 kB / 332.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.01671, allocations: 14.64 kB / 332.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.01672, allocations: 5.156 kB / 332.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.01673, allocations: 2.219 kB / 332.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.01674, allocations: 1.219 kB / 332.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01674, allocations: 1.094 kB / 332.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.01706, allocations: 175.1 kB / 333.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.01715, allocations: 44.77 kB / 333.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.01719, allocations: 6.156 kB / 333.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.01726, allocations: 7.438 kB / 333.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.01733, allocations: 11.58 kB / 333.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.01735, allocations: 7.844 kB / 333.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002724/0.01762, allocations: 247.7 kB / 333.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01762, allocations: 1.5 kB / 333.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.01792, allocations: 37.09 kB / 333.4 MB, free: 10.59 MB / 302.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.001758/0.01967, allocations: 447.8 kB / 333.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.01995, allocations: 72.8 kB / 333.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.01995, allocations: 0 / 333.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.02005, allocations: 34.34 kB / 334 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.02054, allocations: 61.66 kB / 334 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007247/0.02126, allocations: 384.8 kB / 334.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.02141, allocations: 131.7 kB / 334.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.505e-05/0.02149, allocations: 31.58 kB / 334.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.02156, allocations: 23 kB / 334.6 MB, free: 9.863 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.02156, allocations: 0 / 334.6 MB, free: 9.863 MB / 302.1 MB Notification: Performance of Templates: time 0.007759/0.02932, allocations: 2.945 MB / 337.5 MB, free: 8.34 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins/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: 4.397646803408861]