Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 119.5 kB / 18.41 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001827, allocations: 188.3 kB / 21.35 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 247 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 47.92 kB / 358.7 MB, free: 8.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1263, allocations: 49.44 MB / 408.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002948/0.1293, allocations: 1.547 MB / 409.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009219/0.1303, allocations: 498.6 kB / 410.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.074e-05/0.1304, allocations: 7.938 kB / 410.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/0.1304, allocations: 7.922 kB / 410.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.1306, allocations: 11.94 kB / 410.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1309, allocations: 51.81 kB / 410.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.131, allocations: 47.78 kB / 410.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1311, allocations: 20 kB / 410.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.401e-05/0.1312, allocations: 27.84 kB / 410.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.1313, allocations: 19.86 kB / 410.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1313, allocations: 4 kB / 410.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.1313, allocations: 8 kB / 410.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.1314, allocations: 15.92 kB / 410.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.1314, allocations: 19.81 kB / 410.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1316, allocations: 59.73 kB / 410.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1316, allocations: 0 / 410.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1316, allocations: 0 / 410.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1316, allocations: 0 / 410.4 MB, free: 4.531 MB / 334.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.0005172/0.1321, allocations: 379 kB / 410.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1322, allocations: 12.03 kB / 410.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.1322, allocations: 8.891 kB / 410.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1325, allocations: 196.3 kB / 411 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1325, allocations: 4.312 kB / 411 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1325, allocations: 4.375 kB / 411 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.1328, allocations: 117.3 kB / 411.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1328, allocations: 0 / 411.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1329, allocations: 0 / 411.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.1329, allocations: 0 / 411.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.864e-05/0.133, allocations: 15.98 kB / 411.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.1333, allocations: 277.6 kB / 411.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1334, allocations: 45.2 kB / 411.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.1335, allocations: 17.78 kB / 411.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1335, allocations: 0 / 411.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1336, allocations: 38.5 kB / 411.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1336, allocations: 0 / 411.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002577/0.1338, allocations: 65.67 kB / 411.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.1339, allocations: 81.05 kB / 411.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.134, allocations: 145.2 kB / 411.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1341, allocations: 33.64 kB / 411.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.1341, allocations: 88.14 kB / 411.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.1341, allocations: 0 / 411.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.1342, allocations: 17.92 kB / 411.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1343, allocations: 326.8 kB / 412.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.1344, allocations: 8 kB / 412.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.302e-05/0.1344, allocations: 21.7 kB / 412.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.103e-05/0.1345, allocations: 33.58 kB / 412.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1345, allocations: 4.062 kB / 412.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001166/0.1347, allocations: 49.69 kB / 412.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1347, allocations: 4 kB / 412.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1347, allocations: 4 kB / 412.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1347, allocations: 3.984 kB / 412.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.1348, allocations: 7.984 kB / 412.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1348, allocations: 3.938 kB / 412.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.1349, allocations: 8 kB / 412.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1349, allocations: 64 / 412.4 MB, free: 2.285 MB / 334.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.12e-05/0.135, allocations: 121.8 kB / 412.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.135, allocations: 41.66 kB / 412.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.1351, allocations: 7.875 kB / 412.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1351, allocations: 0 / 412.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1351, allocations: 0 / 412.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1351, allocations: 3.984 kB / 412.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.1353, allocations: 173.6 kB / 412.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1353, allocations: 0 / 412.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.1354, allocations: 8.031 kB / 412.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1354, allocations: 0 / 412.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.1354, allocations: 0 / 412.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1354, allocations: 0 / 412.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1354, allocations: 4 kB / 412.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.1356, allocations: 164.2 kB / 412.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.1357, allocations: 97.08 kB / 413 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.1357, allocations: 4 kB / 413 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.216e-05/0.1357, allocations: 0 / 413 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.1358, allocations: 0 / 413 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.1358, allocations: 4 kB / 413 MB, free: 1.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.42e-05/0.1359, allocations: 109.7 kB / 413.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1359, allocations: 0 / 413.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.1361, allocations: 4 kB / 413.1 MB, free: 1.453 MB / 334.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.0001216/0.1362, allocations: 103.7 kB / 413.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.1364, allocations: 31.86 kB / 413.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1364, allocations: 0 / 413.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.1364, allocations: 11.92 kB / 413.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.1368, allocations: 23.95 kB / 413.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.1372, allocations: 193.3 kB / 413.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1375, allocations: 0.6922 MB / 414.2 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.1375, allocations: 15.44 kB / 414.2 MB, free: 328 kB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1375, allocations: 0 / 414.2 MB, free: 328 kB / 334.1 MB Notification: Performance of Templates: time 0.002468/0.14, allocations: 0.7076 MB / 414.9 MB, free: 15.62 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.068226192961447]