Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002413/0.002413, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.964e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003738/0.003768, allocations: 1.889 MB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.006221, allocations: 1.223 MB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.006343, allocations: 7.938 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.006666, allocations: 71.61 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.007093, allocations: 135.3 kB / 275.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000719/0.007812, allocations: 231.2 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.008111, allocations: 187.4 kB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.008214, allocations: 21.78 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.008409, allocations: 111.7 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.008547, allocations: 59.86 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.008577, allocations: 12 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.008767, allocations: 75.81 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.657e-05/0.008864, allocations: 55.83 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.462e-05/0.008939, allocations: 39.8 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.009344, allocations: 243.2 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.009347, allocations: 0 / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009348, allocations: 0 / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.009354, allocations: 0 / 276.6 MB, free: 13.47 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.0008267/0.01018, allocations: 482.5 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.01022, allocations: 12.03 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.01031, allocations: 28.78 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.01078, allocations: 244.7 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.0108, allocations: 4.375 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.01082, allocations: 8.375 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.01122, allocations: 177 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.01123, allocations: 7.875 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.01125, allocations: 4 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.01125, allocations: 3.938 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.01139, allocations: 43.95 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.01194, allocations: 310.1 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.01223, allocations: 119.8 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.01234, allocations: 50.56 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.01236, allocations: 3.984 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.01256, allocations: 79.33 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.01256, allocations: 0 / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004615/0.01302, allocations: 165.4 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.01313, allocations: 132.5 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.01356, allocations: 337.9 kB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.01359, allocations: 25.7 kB / 278.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.01371, allocations: 140.3 kB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.01373, allocations: 11.91 kB / 279 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.01379, allocations: 33.64 kB / 279 MB, free: 10.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.01398, allocations: 326.8 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/0.01406, allocations: 28.05 kB / 279.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.01421, allocations: 114.8 kB / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.01436, allocations: 57.64 kB / 279.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01436, allocations: 0 / 279.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002567/0.01462, allocations: 113.5 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.01463, allocations: 8.062 kB / 279.6 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01464, allocations: 4 kB / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.01465, allocations: 0 / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.01475, allocations: 15.98 kB / 279.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.01476, allocations: 4 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.01483, allocations: 3.938 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.01484, allocations: 4 kB / 279.7 MB, free: 10.16 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 0.0001654/0.015, allocations: 157.7 kB / 279.8 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.01511, allocations: 65.56 kB / 279.9 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.01543, allocations: 127.4 kB / 280 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.01544, allocations: 4 kB / 280 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01544, allocations: 3.938 kB / 280 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01544, allocations: 0 / 280 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.01567, allocations: 181.1 kB / 280.2 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.01567, allocations: 4.312 kB / 280.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-05/0.01575, allocations: 11.98 kB / 280.2 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.01575, allocations: 4 kB / 280.2 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.01577, allocations: 8 kB / 280.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01577, allocations: 0 / 280.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.01578, allocations: 11.94 kB / 280.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.01611, allocations: 174.5 kB / 280.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.0162, allocations: 43.78 kB / 280.5 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.01624, allocations: 3.984 kB / 280.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.01631, allocations: 8 kB / 280.5 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.01636, allocations: 7.984 kB / 280.5 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.01638, allocations: 4 kB / 280.5 MB, free: 9.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003005/0.01668, allocations: 253.2 kB / 280.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01668, allocations: 0 / 280.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002639/0.01695, allocations: 28 kB / 280.8 MB, free: 8.996 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.001989/0.01893, allocations: 460.7 kB / 281.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.01917, allocations: 63.91 kB / 281.3 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01917, allocations: 0 / 281.3 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.01928, allocations: 39.91 kB / 281.3 MB, free: 8.621 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.01973, allocations: 61.73 kB / 281.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.02049, allocations: 398.1 kB / 281.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.02065, allocations: 127.9 kB / 281.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.089e-05/0.02074, allocations: 29.61 kB / 281.9 MB, free: 7.961 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.02081, allocations: 24.5 kB / 281.9 MB, free: 7.938 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02081, allocations: 4 kB / 281.9 MB, free: 7.934 MB / 266.7 MB Notification: Performance of Templates: time 0.007813/0.02862, allocations: 2.98 MB / 284.9 MB, free: 5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.471972233033739]