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.00144/0.00144, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009864/0.0009864, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.023/1.023, allocations: 177 MB / 204.9 MB, free: 5.57 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 3.126e-06/3.126e-06, allocations: 4 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/3.048e-05, allocations: 2.312 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003974/0.004004, allocations: 1.95 MB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.006069, allocations: 1.238 MB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.006218, allocations: 3.938 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.006587, allocations: 63.67 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004695/0.007057, allocations: 147.3 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007599/0.007817, allocations: 227.1 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.008122, allocations: 183.5 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.008254, allocations: 17.8 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.00848, allocations: 107.7 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.008645, allocations: 75.8 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.008676, allocations: 8 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.008893, allocations: 67.88 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.009001, allocations: 59.77 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.009073, allocations: 35.86 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.009443, allocations: 191.2 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.009447, allocations: 0 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.009449, allocations: 0 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.009456, allocations: 0 / 277.3 MB, free: 13.07 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.0007194/0.01017, allocations: 0.5672 MB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.01022, allocations: 15.98 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.95e-05/0.01031, allocations: 32.78 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.01066, allocations: 227.6 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.01069, allocations: 384 / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.01071, allocations: 8.375 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.01109, allocations: 153.3 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.0111, allocations: 4.188 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.01112, allocations: 384 / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.01113, allocations: 3.938 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.01122, allocations: 27.92 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.01174, allocations: 374.9 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.01194, allocations: 109.4 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.593e-05/0.012, allocations: 47.05 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.01202, allocations: 7.938 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.01216, allocations: 73.03 kB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.914e-06/0.01217, allocations: 0 / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003175/0.01248, allocations: 125.4 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.01255, allocations: 110.8 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.01286, allocations: 324.3 kB / 279.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.01288, allocations: 25.7 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01301, allocations: 187 kB / 279.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.01304, allocations: 23.95 kB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.0131, allocations: 31.38 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002714/0.01337, allocations: 0.504 MB / 280.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.524e-05/0.01341, allocations: 12 kB / 280.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.01347, allocations: 64.69 kB / 280.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.938e-05/0.01355, allocations: 47.61 kB / 280.3 MB, free: 9.695 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01355, allocations: 0 / 280.3 MB, free: 9.695 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001516/0.0137, allocations: 97.42 kB / 280.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.01372, allocations: 10.72 kB / 280.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01373, allocations: 0 / 280.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.01374, allocations: 4 kB / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.01385, allocations: 11.98 kB / 280.4 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.01385, allocations: 4 kB / 280.4 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.01391, allocations: 0 / 280.4 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.01392, allocations: 4 kB / 280.4 MB, free: 9.562 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 9.778e-05/0.01401, allocations: 160.6 kB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.0141, allocations: 73.42 kB / 280.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.0143, allocations: 107.4 kB / 280.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.0143, allocations: 0 / 280.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01431, allocations: 0 / 280.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.01431, allocations: 4 kB / 280.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.0145, allocations: 196.4 kB / 281 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.01451, allocations: 4 kB / 281 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.01458, allocations: 8 kB / 281 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.01459, allocations: 11.92 kB / 281 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.0146, allocations: 3.984 kB / 281 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.0146, allocations: 0 / 281 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.01461, allocations: 4 kB / 281 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.01482, allocations: 167.6 kB / 281.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.01489, allocations: 39.77 kB / 281.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.01493, allocations: 12.06 kB / 281.2 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.873e-05/0.01499, allocations: 0 / 281.2 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.01504, allocations: 15.92 kB / 281.2 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.01506, allocations: 4 kB / 281.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.01524, allocations: 229 kB / 281.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01524, allocations: 0 / 281.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002708/0.01551, allocations: 35.94 kB / 281.5 MB, free: 8.418 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.001075/0.01659, allocations: 388.6 kB / 281.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.01674, allocations: 51.59 kB / 281.9 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01674, allocations: 4.062 kB / 281.9 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.564e-05/0.01678, allocations: 31.67 kB / 282 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.01708, allocations: 77.52 kB / 282 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.01754, allocations: 341.1 kB / 282.4 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.126e-05/0.01759, allocations: 83.97 kB / 282.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.369e-05/0.01764, allocations: 25.81 kB / 282.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.539e-05/0.01769, allocations: 20.5 kB / 282.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01769, allocations: 0 / 282.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of Templates: time 0.00566/0.02335, allocations: 3.096 MB / 285.6 MB, free: 4.398 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: 3.049721146002412]