Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.002159/0.002159, allocations: 115.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.002847/0.002847, 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.631/1.631, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 47.92 kB / 374.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1265, allocations: 53.33 MB / 427.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003702/0.1302, allocations: 1.513 MB / 429 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1314, allocations: 482.8 kB / 429.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.1315, allocations: 4 kB / 429.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.018e-05/0.1315, allocations: 3.938 kB / 429.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.23e-05/0.1316, allocations: 11.88 kB / 429.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.132, allocations: 31.91 kB / 429.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1321, allocations: 39.84 kB / 429.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1322, allocations: 12 kB / 429.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.1324, allocations: 27.84 kB / 429.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.1324, allocations: 15.92 kB / 429.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1325, allocations: 4 kB / 429.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-05/0.1325, allocations: 4 kB / 429.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.1325, allocations: 12 kB / 429.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.1326, allocations: 15.88 kB / 429.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1327, allocations: 43.75 kB / 429.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1327, allocations: 7.938 kB / 429.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1327, allocations: 0 / 429.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1327, allocations: 0 / 429.7 MB, free: 2.129 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000576/0.1333, allocations: 355.3 kB / 430.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1334, allocations: 8.031 kB / 430.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.1336, allocations: 16.92 kB / 430.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1339, allocations: 180.3 kB / 430.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.1339, allocations: 384 / 430.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.1339, allocations: 8.375 kB / 430.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.1343, allocations: 115.6 kB / 430.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1343, allocations: 4 kB / 430.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1343, allocations: 0 / 430.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1343, allocations: 0 / 430.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.419e-05/0.1344, allocations: 19.98 kB / 430.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.1346, allocations: 165.5 kB / 430.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1348, allocations: 54.55 kB / 430.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.439e-05/0.1348, allocations: 32.92 kB / 430.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1349, allocations: 0 / 430.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1349, allocations: 34.5 kB / 430.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1349, allocations: 0 / 430.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002963/0.1352, allocations: 73.61 kB / 430.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.1352, allocations: 55.59 kB / 430.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1354, allocations: 109.8 kB / 430.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1354, allocations: 29.7 kB / 430.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.1355, allocations: 92.12 kB / 431 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.555e-06/0.1355, allocations: 0 / 431 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1355, allocations: 17.72 kB / 431 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1356, allocations: 311.2 kB / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.1357, allocations: 3.984 kB / 431.4 MB, free: 264 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-05/0.1357, allocations: 39.42 kB / 431.4 MB, free: 212 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.193e-05/0.1358, allocations: 35.38 kB / 431.4 MB, free: 164 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1358, allocations: 3.938 kB / 431.4 MB, free: 160 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001001/0.1359, allocations: 61.52 kB / 431.5 MB, free: 92 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1359, allocations: 16.06 kB / 431.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1359, allocations: 3.938 kB / 431.5 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1359, allocations: 0 / 431.5 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.922e-05/0.136, allocations: 8 kB / 431.5 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.136, allocations: 3.984 kB / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.136, allocations: 3.938 kB / 431.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.136, allocations: 4 kB / 431.5 MB, free: 52 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001292/0.1361, allocations: 113.8 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.1363, allocations: 69.56 kB / 431.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.1363, allocations: 7.891 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1363, allocations: 0 / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1363, allocations: 0 / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1363, allocations: 0 / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.1365, allocations: 165.6 kB / 431.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1365, allocations: 0 / 431.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.1365, allocations: 8 kB / 431.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1365, allocations: 3.938 kB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1365, allocations: 4 kB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1365, allocations: 4 kB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1365, allocations: 4 kB / 431.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.1367, allocations: 85.12 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.1368, allocations: 92.98 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1368, allocations: 0 / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.1369, allocations: 11.94 kB / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-06/0.1369, allocations: 0 / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.1369, allocations: 0 / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.727e-05/0.1369, allocations: 91.27 kB / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1369, allocations: 0 / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002056/0.1371, allocations: 8 kB / 432.2 MB, free: 15.28 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.0001365/0.1373, allocations: 95.78 kB / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.1374, allocations: 27.92 kB / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1374, allocations: 288 / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.1374, allocations: 0 / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.1377, allocations: 28.17 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.138, allocations: 160.4 kB / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.1384, allocations: 0.6807 MB / 433.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.1384, allocations: 11.38 kB / 433.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1384, allocations: 0 / 433.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of Templates: time 0.002406/0.1408, allocations: 0.5893 MB / 433.8 MB, free: 13.63 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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: 6.893850371998269]