Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.001635/0.001635, allocations: 90.55 kB / 20.69 MB, free: 1.02 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.001654/0.001654, allocations: 158.2 kB / 23.95 MB, free: 4.152 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.496/1.496, allocations: 177 MB / 204.1 MB, free: 9.141 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.599e-05, allocations: 4.031 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003356/0.003382, allocations: 1.883 MB / 326.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.005835, allocations: 1.233 MB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.006, allocations: 2.281 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.006322, allocations: 70.98 kB / 328.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.006763, allocations: 141 kB / 328.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008016/0.007565, allocations: 228 kB / 328.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.007895, allocations: 186.8 kB / 328.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.008018, allocations: 25.42 kB / 328.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.008223, allocations: 98.62 kB / 328.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.008382, allocations: 75.64 kB / 328.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.008416, allocations: 8.719 kB / 328.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.008616, allocations: 72.98 kB / 329 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.952e-05/0.008715, allocations: 51.02 kB / 329.1 MB, free: 14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.008798, allocations: 42.14 kB / 329.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.00927, allocations: 242 kB / 329.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.009273, allocations: 0 / 329.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.009274, allocations: 5.188 kB / 329.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.009282, allocations: 0 / 329.3 MB, free: 13.88 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.00117/0.01045, allocations: 479 kB / 329.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.0105, allocations: 16.86 kB / 329.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.01063, allocations: 24.31 kB / 329.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.01117, allocations: 230.8 kB / 330.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.01119, allocations: 11.78 kB / 330.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.01121, allocations: 4.672 kB / 330.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.01161, allocations: 177.6 kB / 330.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.01162, allocations: 12.06 kB / 330.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.01164, allocations: 6.219 kB / 330.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.01165, allocations: 9.703 kB / 330.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.01178, allocations: 34.03 kB / 330.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.01235, allocations: 317 kB / 330.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.01265, allocations: 118.9 kB / 330.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.01275, allocations: 42.77 kB / 330.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.01278, allocations: 10.28 kB / 330.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.01297, allocations: 82.59 kB / 330.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.365e-06/0.01297, allocations: 0 / 330.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004577/0.01343, allocations: 157.9 kB / 331 MB, free: 12.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/0.01352, allocations: 131.7 kB / 331.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.01395, allocations: 338.6 kB / 331.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.01397, allocations: 30.8 kB / 331.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.01408, allocations: 126.5 kB / 331.7 MB, free: 12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.01412, allocations: 27.55 kB / 331.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.01417, allocations: 30.12 kB / 331.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.01434, allocations: 336.8 kB / 332 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.01441, allocations: 19.83 kB / 332.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.01455, allocations: 110.4 kB / 332.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.0147, allocations: 63.66 kB / 332.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.01471, allocations: 0 / 332.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002453/0.01495, allocations: 110.9 kB / 332.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01497, allocations: 5.844 kB / 332.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01497, allocations: 4.062 kB / 332.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.01499, allocations: 1.062 kB / 332.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.01509, allocations: 18.28 kB / 332.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.0151, allocations: 5.141 kB / 332.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.01518, allocations: 3.875 kB / 332.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.01519, allocations: 10.55 kB / 332.4 MB, free: 11.36 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.0001557/0.01534, allocations: 150.2 kB / 332.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.01544, allocations: 70.42 kB / 332.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.01575, allocations: 131.4 kB / 332.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01575, allocations: 2.25 kB / 332.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.01576, allocations: 1.094 kB / 332.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01576, allocations: 1.188 kB / 332.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.01597, allocations: 180.9 kB / 332.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01598, allocations: 1.219 kB / 332.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.219e-05/0.01605, allocations: 10 kB / 332.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.01605, allocations: 5 kB / 332.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.01607, allocations: 10.08 kB / 332.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.01607, allocations: 1.156 kB / 332.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01607, allocations: 4.906 kB / 332.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.01638, allocations: 171.3 kB / 333.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.01647, allocations: 49.59 kB / 333.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.0165, allocations: 2.438 kB / 333.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.01658, allocations: 6.391 kB / 333.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.01663, allocations: 15.36 kB / 333.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.01665, allocations: 4.469 kB / 333.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002738/0.01692, allocations: 252.2 kB / 333.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01692, allocations: 0 / 333.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.01721, allocations: 30.25 kB / 333.5 MB, free: 10.56 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,superSample1.y,sample1.y,superSample1.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.001728/0.01894, allocations: 442.8 kB / 333.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.01918, allocations: 67.8 kB / 334 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01918, allocations: 1 kB / 334 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.639e-05/0.01928, allocations: 29.52 kB / 334 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.01972, allocations: 66.11 kB / 334.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006744/0.0204, allocations: 376.8 kB / 334.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.02055, allocations: 144 kB / 334.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.963e-05/0.02063, allocations: 25.88 kB / 334.6 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.02068, allocations: 23.77 kB / 334.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.02068, allocations: 0 / 334.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of Templates: time 0.007278/0.02796, allocations: 2.953 MB / 337.6 MB, free: 8.285 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.557799939066172]