Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001356/0.001356, allocations: 111.1 kB / 18.45 MB, free: 4.566 MB / 14.72 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.001455/0.001455, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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.65/1.65, allocations: 230.6 MB / 254.8 MB, free: 15.06 MB / 206.1 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.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 48.03 kB / 374.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1275, allocations: 53.34 MB / 427.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.00327/0.1308, allocations: 1.568 MB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1319, allocations: 0.5298 MB / 429.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.132, allocations: 8 kB / 429.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.93e-05/0.1321, allocations: 3.938 kB / 429.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.1322, allocations: 15.8 kB / 429.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1325, allocations: 59.81 kB / 429.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1327, allocations: 39.84 kB / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1328, allocations: 8 kB / 429.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1329, allocations: 27.86 kB / 429.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.133, allocations: 19.92 kB / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.133, allocations: 0 / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.453e-05/0.133, allocations: 15.98 kB / 429.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.1331, allocations: 7.938 kB / 429.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.1331, allocations: 27.8 kB / 429.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1333, allocations: 51.75 kB / 429.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1333, allocations: 0 / 429.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1333, allocations: 4 kB / 429.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1333, allocations: 0 / 429.9 MB, free: 1.855 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005991/0.1339, allocations: 367.2 kB / 430.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1339, allocations: 11.97 kB / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.1341, allocations: 24.81 kB / 430.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1344, allocations: 192.2 kB / 430.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1344, allocations: 8.375 kB / 430.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.1344, allocations: 384 / 430.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.1347, allocations: 101.3 kB / 430.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1347, allocations: 0 / 430.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1347, allocations: 4 kB / 430.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1347, allocations: 0 / 430.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.448e-05/0.1348, allocations: 15.98 kB / 430.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1352, allocations: 265.7 kB / 430.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1353, allocations: 49.2 kB / 430.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.1353, allocations: 13.78 kB / 430.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1354, allocations: 7.984 kB / 430.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.1354, allocations: 34.5 kB / 430.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1354, allocations: 0 / 430.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000279/0.1357, allocations: 73.56 kB / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.1358, allocations: 81.11 kB / 431.1 MB, free: 428 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.1359, allocations: 135.9 kB / 431.2 MB, free: 280 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1359, allocations: 25.7 kB / 431.3 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.136, allocations: 92.12 kB / 431.3 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.136, allocations: 3.984 kB / 431.4 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.1361, allocations: 21.92 kB / 431.4 MB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1362, allocations: 318.8 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.1363, allocations: 7.984 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.1363, allocations: 17.72 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.966e-05/0.1364, allocations: 33.58 kB / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1364, allocations: 12 kB / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001311/0.1365, allocations: 57.67 kB / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1366, allocations: 4 kB / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1366, allocations: 0 / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1366, allocations: 0 / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.1367, allocations: 11.88 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1367, allocations: 4 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.1367, allocations: 3.984 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1367, allocations: 4.062 kB / 431.8 MB, free: 15.62 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 0.0001075/0.1368, allocations: 125.7 kB / 432 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.1369, allocations: 33.66 kB / 432 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.1369, allocations: 15.86 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1369, allocations: 0 / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1369, allocations: 4 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1369, allocations: 0 / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1371, allocations: 169.6 kB / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1371, allocations: 0 / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.1372, allocations: 8.031 kB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1372, allocations: 4 kB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.1372, allocations: 3.984 kB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1372, allocations: 3.938 kB / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1372, allocations: 0 / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.1374, allocations: 160.3 kB / 432.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.1375, allocations: 93.08 kB / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.1375, allocations: 0 / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.1376, allocations: 7.984 kB / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.1376, allocations: 0 / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.1376, allocations: 0 / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.803e-05/0.1377, allocations: 111.3 kB / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1377, allocations: 0 / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.1379, allocations: 4 kB / 432.6 MB, free: 14.79 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.0001398/0.1381, allocations: 103.8 kB / 432.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.1382, allocations: 23.92 kB / 432.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1382, allocations: 0 / 432.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.1383, allocations: 8 kB / 432.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1386, allocations: 23 kB / 432.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.139, allocations: 185.4 kB / 432.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.1393, allocations: 0.6885 MB / 433.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.1394, allocations: 15.38 kB / 433.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1394, allocations: 0 / 433.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Templates: time 0.002424/0.1418, allocations: 0.7133 MB / 434.3 MB, free: 12.97 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.165866980998544]