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.001124/0.001124, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001033/0.001033, allocations: 159 kB / 25.61 MB, free: 8.582 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 0.9891/0.9891, allocations: 177 MB / 205.9 MB, free: 4.453 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.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 2.976e-06/2.976e-06, allocations: 3.984 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.74e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00297/0.002997, allocations: 1.92 MB / 276 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.004836, allocations: 1.261 MB / 277.3 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.004967, allocations: 3.938 kB / 277.3 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.005307, allocations: 67.61 kB / 277.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.005639, allocations: 144 kB / 277.5 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.006212, allocations: 225.2 kB / 277.7 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.006443, allocations: 183.5 kB / 277.9 MB, free: 496 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.006562, allocations: 26.95 kB / 277.9 MB, free: 468 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.006695, allocations: 103.7 kB / 278 MB, free: 364 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.006819, allocations: 71.8 kB / 278.1 MB, free: 292 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.006844, allocations: 8.75 kB / 278.1 MB, free: 284 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.00698, allocations: 67.94 kB / 278.2 MB, free: 216 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.007054, allocations: 57.83 kB / 278.2 MB, free: 160 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.007114, allocations: 39.84 kB / 278.3 MB, free: 120 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.007391, allocations: 187.3 kB / 278.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.007395, allocations: 4 kB / 278.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.007396, allocations: 0 / 278.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.007402, allocations: 4 kB / 278.5 MB, free: 15.93 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.0005633/0.007965, allocations: 0.571 MB / 279 MB, free: 15.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.008003, allocations: 8.031 kB / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.008067, allocations: 32.8 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.008308, allocations: 215.6 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.008331, allocations: 12.36 kB / 279.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.008342, allocations: 4.375 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.008573, allocations: 153.3 kB / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.00858, allocations: 4.125 kB / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.00859, allocations: 384 / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.008596, allocations: 7.922 kB / 279.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.722e-05/0.008634, allocations: 15.98 kB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.00898, allocations: 327.7 kB / 279.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.009126, allocations: 113.3 kB / 279.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.009166, allocations: 43.05 kB / 279.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.009183, allocations: 0 / 279.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.00929, allocations: 84.89 kB / 280 MB, free: 14.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.009291, allocations: 0 / 280 MB, free: 14.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002171/0.009508, allocations: 113.5 kB / 280.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.009561, allocations: 106.8 kB / 280.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.009762, allocations: 316.5 kB / 280.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.009784, allocations: 37.64 kB / 280.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.009877, allocations: 186.8 kB / 280.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.009903, allocations: 19.84 kB / 280.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.009957, allocations: 39.28 kB / 280.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.01011, allocations: 0.5001 MB / 281.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.441e-05/0.01013, allocations: 11.98 kB / 281.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.01018, allocations: 68.73 kB / 281.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.783e-05/0.01023, allocations: 31.38 kB / 281.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01023, allocations: 4 kB / 281.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001044/0.01033, allocations: 89.45 kB / 281.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.01035, allocations: 7.984 kB / 281.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01036, allocations: 0 / 281.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.01036, allocations: 0 / 281.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.01044, allocations: 12 kB / 281.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.01044, allocations: 0 / 281.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.056e-05/0.01048, allocations: 8 kB / 281.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.01049, allocations: 7.922 kB / 281.6 MB, free: 12.51 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.99e-05/0.01058, allocations: 160.9 kB / 281.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.01064, allocations: 73.47 kB / 281.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.01078, allocations: 103.4 kB / 281.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01078, allocations: 0 / 281.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01079, allocations: 7.984 kB / 281.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01079, allocations: 0 / 281.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.01092, allocations: 153.1 kB / 282 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01093, allocations: 4 kB / 282.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.01097, allocations: 8 kB / 282.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.01097, allocations: 4 kB / 282.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.01098, allocations: 8.047 kB / 282.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01098, allocations: 3.938 kB / 282.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01099, allocations: 7.938 kB / 282.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.01111, allocations: 143.9 kB / 282.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.01116, allocations: 39.78 kB / 282.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.01118, allocations: 4 kB / 282.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.419e-05/0.01122, allocations: 3.938 kB / 282.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.01126, allocations: 11.98 kB / 282.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.01127, allocations: 7.984 kB / 282.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.01138, allocations: 213.1 kB / 282.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.01138, allocations: 4 kB / 282.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.01155, allocations: 28 kB / 282.5 MB, free: 11.46 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,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.0009699/0.01252, allocations: 410.8 kB / 282.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.01264, allocations: 43.61 kB / 283 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01264, allocations: 0 / 283 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.01268, allocations: 27.66 kB / 283 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.01296, allocations: 59.03 kB / 283.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.01336, allocations: 341.2 kB / 283.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.195e-05/0.01342, allocations: 88.08 kB / 283.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.91e-05/0.01347, allocations: 37.73 kB / 283.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/0.01356, allocations: 102.2 kB / 283.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01356, allocations: 0 / 283.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of Templates: time 0.00538/0.01894, allocations: 3.203 MB / 286.8 MB, free: 7.273 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] 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","",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.8371335798874497]