Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001263/0.001263, allocations: 116.2 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.001316/0.001316, 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.527/1.527, 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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 373.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1236, allocations: 53.31 MB / 427.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003132/0.1268, allocations: 1.577 MB / 428.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1279, allocations: 0.5688 MB / 429.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.564e-05/0.128, allocations: 4 kB / 429.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.786e-05/0.1281, allocations: 7.922 kB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.1282, allocations: 7.875 kB / 429.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.1286, allocations: 67.73 kB / 429.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.1287, allocations: 43.86 kB / 429.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.1288, allocations: 12.17 kB / 429.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1289, allocations: 31.84 kB / 429.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.129, allocations: 19.86 kB / 429.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.129, allocations: 8 kB / 429.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.776e-05/0.129, allocations: 4 kB / 429.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.1291, allocations: 15.92 kB / 429.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.1291, allocations: 27.81 kB / 429.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1293, allocations: 55.73 kB / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1293, allocations: 4 kB / 429.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1293, allocations: 0 / 429.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1293, allocations: 3.938 kB / 429.6 MB, free: 2.043 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000524/0.1298, allocations: 379.1 kB / 430 MB, free: 1.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1298, allocations: 12.03 kB / 430 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.13, allocations: 20.81 kB / 430 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.1303, allocations: 210.9 kB / 430.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.1303, allocations: 384 / 430.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1303, allocations: 8.312 kB / 430.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.1306, allocations: 109.2 kB / 430.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1306, allocations: 0 / 430.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1306, allocations: 3.984 kB / 430.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1306, allocations: 0 / 430.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.1307, allocations: 19.92 kB / 430.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.131, allocations: 261.8 kB / 430.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.425e-05/0.1311, allocations: 49.14 kB / 430.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.1312, allocations: 13.78 kB / 430.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1312, allocations: 3.984 kB / 430.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1312, allocations: 38.56 kB / 430.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 4.268e-06/0.1312, allocations: 7.984 kB / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002386/0.1315, allocations: 61.58 kB / 430.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.1315, allocations: 81.09 kB / 430.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1317, allocations: 145.8 kB / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1317, allocations: 25.7 kB / 431 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.1317, allocations: 96.38 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.1318, allocations: 3.953 kB / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.1318, allocations: 17.72 kB / 431.1 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1319, allocations: 314.8 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.132, allocations: 7.984 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.145e-05/0.1321, allocations: 21.72 kB / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.378e-05/0.1321, allocations: 33.7 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1321, allocations: 0 / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001192/0.1323, allocations: 65.56 kB / 431.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1323, allocations: 4 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1323, allocations: 0 / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1323, allocations: 0 / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.1324, allocations: 8 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1324, allocations: 4.062 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.1324, allocations: 3.984 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1324, allocations: 4 kB / 431.6 MB, free: 15.79 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.632e-05/0.1325, allocations: 117.8 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.1326, allocations: 33.66 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.1326, allocations: 15.86 kB / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1326, allocations: 0 / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1326, allocations: 4 kB / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1326, allocations: 7.969 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.1328, allocations: 173.6 kB / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1328, allocations: 0 / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/0.1328, allocations: 11.98 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1328, allocations: 0 / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1329, allocations: 3.938 kB / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1329, allocations: 0 / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1329, allocations: 0 / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.133, allocations: 160.3 kB / 432.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.1331, allocations: 93.05 kB / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1331, allocations: 0 / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.1332, allocations: 7.984 kB / 432.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1332, allocations: 0 / 432.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1332, allocations: 11.88 kB / 432.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.714e-05/0.1333, allocations: 109.5 kB / 432.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1333, allocations: 0 / 432.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.1335, allocations: 8.031 kB / 432.3 MB, free: 14.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001157/0.1336, allocations: 99.25 kB / 432.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.1338, allocations: 15.98 kB / 432.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1338, allocations: 0 / 432.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.1338, allocations: 19.92 kB / 432.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1341, allocations: 16.22 kB / 432.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.1345, allocations: 171.4 kB / 432.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1348, allocations: 0.6885 MB / 433.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.243e-05/0.1349, allocations: 4 kB / 433.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1349, allocations: 11.42 kB / 433.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1349, allocations: 0 / 433.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Templates: time 0.003129/0.138, allocations: 0.5228 MB / 433.9 MB, free: 13.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.516350192017853]