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.001944/0.001944, allocations: 117.6 kB / 18.5 MB, free: 4.543 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.002342/0.002342, allocations: 201 kB / 21.45 MB, free: 1.59 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.619/1.619, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.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 0.001946/0.001946, allocations: 63.89 kB / 373.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1323, allocations: 53.32 MB / 427.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003625/0.1359, allocations: 1.902 MB / 429 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.1382, allocations: 1.297 MB / 430.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1383, allocations: 3.938 kB / 430.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.1386, allocations: 67.66 kB / 430.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.139, allocations: 131.4 kB / 430.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.1397, allocations: 225 kB / 430.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.1399, allocations: 179.5 kB / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1401, allocations: 21.55 kB / 431 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1402, allocations: 79.62 kB / 431 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1403, allocations: 83.61 kB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.1403, allocations: 12 kB / 431.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.1405, allocations: 71.95 kB / 431.2 MB, free: 448 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.011e-05/0.1406, allocations: 47.83 kB / 431.2 MB, free: 400 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.07e-05/0.1407, allocations: 79.42 kB / 431.3 MB, free: 320 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.141, allocations: 246.9 kB / 431.6 MB, free: 72 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.141, allocations: 3.984 kB / 431.6 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.141, allocations: 0 / 431.6 MB, free: 68 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.141, allocations: 0 / 431.6 MB, free: 68 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.3368/0.4778, allocations: 0.5364 MB / 432.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.4779, allocations: 11.28 kB / 432.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.038e-05/0.478, allocations: 22.92 kB / 432.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.4784, allocations: 297.9 kB / 432.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.4785, allocations: 3.344 kB / 432.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.4785, allocations: 8.062 kB / 432.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.4789, allocations: 157.6 kB / 432.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4789, allocations: 1.781 kB / 432.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.479, allocations: 4.5 kB / 432.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.479, allocations: 2.859 kB / 432.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.4791, allocations: 37.31 kB / 432.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.4797, allocations: 387.6 kB / 433 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.4799, allocations: 114 kB / 433.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.48, allocations: 46.92 kB / 433.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.4801, allocations: 7.188 kB / 433.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.4803, allocations: 75.42 kB / 433.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.4803, allocations: 0.6562 kB / 433.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004377/0.4807, allocations: 156.7 kB / 433.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.4808, allocations: 163.2 kB / 433.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.4812, allocations: 335.9 kB / 433.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4812, allocations: 31.83 kB / 433.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/0.4813, allocations: 128.3 kB / 434.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.4814, allocations: 16.58 kB / 434.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.4814, allocations: 32.72 kB / 434.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.4815, allocations: 337.2 kB / 434.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.86e-05/0.4816, allocations: 30.52 kB / 434.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.862e-05/0.4817, allocations: 85.02 kB / 434.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.4818, allocations: 86.2 kB / 434.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4818, allocations: 0 / 434.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002181/0.482, allocations: 131.5 kB / 434.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.482, allocations: 3.188 kB / 434.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.4821, allocations: 2.406 kB / 434.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4821, allocations: 4.812 kB / 434.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4822, allocations: 18.52 kB / 434.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.4822, allocations: 1.812 kB / 434.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.986e-05/0.4823, allocations: 12.09 kB / 434.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.4823, allocations: 3.719 kB / 434.8 MB, free: 10.23 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.0001238/0.4824, allocations: 157.8 kB / 435 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.513e-05/0.4825, allocations: 73.75 kB / 435 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.433e-05/0.4826, allocations: 28.56 kB / 435.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.4826, allocations: 2.906 kB / 435.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4826, allocations: 0 / 435.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4826, allocations: 2.734 kB / 435.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.4828, allocations: 246.2 kB / 435.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4828, allocations: 5.125 kB / 435.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/0.4829, allocations: 13.52 kB / 435.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4829, allocations: 1.062 kB / 435.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.4829, allocations: 3.984 kB / 435.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4829, allocations: 2.094 kB / 435.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4829, allocations: 1.031 kB / 435.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.4832, allocations: 172 kB / 435.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-05/0.4833, allocations: 124.3 kB / 435.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.4833, allocations: 2.125 kB / 435.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.4834, allocations: 3.188 kB / 435.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.4834, allocations: 12.39 kB / 435.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.4835, allocations: 5.172 kB / 435.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002778/0.4837, allocations: 248.1 kB / 435.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4837, allocations: 4 kB / 435.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.484, allocations: 30.78 kB / 435.9 MB, free: 9.434 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.001639/0.4857, allocations: 420 kB / 436.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.4859, allocations: 70.17 kB / 436.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4859, allocations: 1.031 kB / 436.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.486, allocations: 33.81 kB / 436.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.4865, allocations: 69.64 kB / 436.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006871/0.4872, allocations: 369.1 kB / 436.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.4874, allocations: 0.7443 MB / 437.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.066e-05/0.4875, allocations: 30.39 kB / 437.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.4875, allocations: 26.59 kB / 437.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4875, allocations: 1.062 kB / 437.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of Templates: time 0.009362/0.4969, allocations: 2.856 MB / 440.5 MB, free: 8.02 MB / 350.1 MB " [Timeout remaining time 659] 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: 5.343764381483197]