Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001516/0.001516, allocations: 116.1 kB / 18.45 MB, free: 4.602 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.001814/0.001814, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.626/1.626, allocations: 225.6 MB / 249.8 MB, free: 3.5 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.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 51.92 kB / 366.8 MB, free: 432 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1273, allocations: 52.14 MB / 419 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003221/0.1305, allocations: 1.689 MB / 420.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004884/0.131, allocations: 167.3 kB / 420.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.652e-05/0.1311, allocations: 4 kB / 420.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.765e-05/0.1311, allocations: 11.86 kB / 420.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.1313, allocations: 11.94 kB / 420.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1316, allocations: 43.83 kB / 420.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1317, allocations: 51.84 kB / 420.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1318, allocations: 27.97 kB / 421 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.031e-05/0.1319, allocations: 19.92 kB / 421 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.1319, allocations: 31.8 kB / 421 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1319, allocations: 4 kB / 421 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.1319, allocations: 4 kB / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.132, allocations: 15.92 kB / 421 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.132, allocations: 35.81 kB / 421.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1322, allocations: 71.59 kB / 421.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1322, allocations: 3.938 kB / 421.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1322, allocations: 0 / 421.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1322, allocations: 0 / 421.1 MB, free: 9.988 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005346/0.1328, allocations: 395 kB / 421.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1328, allocations: 8.031 kB / 421.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.1328, allocations: 12.84 kB / 421.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1331, allocations: 200.2 kB / 421.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1331, allocations: 8.312 kB / 421.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1331, allocations: 8.375 kB / 421.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.1335, allocations: 170.2 kB / 421.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1335, allocations: 4.188 kB / 421.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1335, allocations: 3.938 kB / 421.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1335, allocations: 0 / 421.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1336, allocations: 39.86 kB / 422 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.1341, allocations: 366 kB / 422.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.1343, allocations: 115.8 kB / 422.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.827e-05/0.1344, allocations: 50.56 kB / 422.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.1344, allocations: 8.141 kB / 422.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1345, allocations: 38.56 kB / 422.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1345, allocations: 0 / 422.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003476/0.1348, allocations: 125.5 kB / 422.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.1349, allocations: 115 kB / 422.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.135, allocations: 139.8 kB / 422.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1351, allocations: 29.7 kB / 422.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.1351, allocations: 88.08 kB / 423 MB, free: 7.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.1351, allocations: 15.94 kB / 423 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.1352, allocations: 17.72 kB / 423.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1353, allocations: 322.8 kB / 423.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.1354, allocations: 12 kB / 423.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1355, allocations: 71.66 kB / 423.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1356, allocations: 103.5 kB / 423.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1356, allocations: 0 / 423.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001912/0.1358, allocations: 109.4 kB / 423.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1358, allocations: 4 kB / 423.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1358, allocations: 4 kB / 423.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1359, allocations: 4 kB / 423.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.1359, allocations: 19.98 kB / 423.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1359, allocations: 4 kB / 423.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.136, allocations: 4.281 kB / 423.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.136, allocations: 8 kB / 423.7 MB, free: 7.082 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001109/0.1361, allocations: 133.7 kB / 423.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.1362, allocations: 77.59 kB / 423.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.1363, allocations: 16.91 kB / 423.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1363, allocations: 0 / 423.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1363, allocations: 3.938 kB / 423.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1363, allocations: 4 kB / 423.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.1365, allocations: 185.5 kB / 424.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1366, allocations: 3.984 kB / 424.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.168e-05/0.1366, allocations: 23.94 kB / 424.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1366, allocations: 3.938 kB / 424.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1366, allocations: 8 kB / 424.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1366, allocations: 3.984 kB / 424.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1366, allocations: 0 / 424.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.137, allocations: 312.3 kB / 424.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.1371, allocations: 97 kB / 424.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1371, allocations: 7.938 kB / 424.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1372, allocations: 7.984 kB / 424.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.1373, allocations: 7.984 kB / 424.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1373, allocations: 0 / 424.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.342e-05/0.1374, allocations: 105.6 kB / 424.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1374, allocations: 0 / 424.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1376, allocations: 16 kB / 424.7 MB, free: 5.977 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001187/0.1377, allocations: 107.7 kB / 424.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1379, allocations: 63.84 kB / 424.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1379, allocations: 0 / 424.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.106e-05/0.138, allocations: 8.562 kB / 424.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.1384, allocations: 40.08 kB / 424.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.1389, allocations: 243.8 kB / 425.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.1393, allocations: 0.7002 MB / 425.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.1393, allocations: 15.38 kB / 425.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1393, allocations: 0 / 425.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of Templates: time 0.002601/0.1419, allocations: 0.9097 MB / 426.8 MB, free: 3.828 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.228229099011514]