Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.001165/0.001165, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00192/0.003085, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.00112/0.00112, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001458/0.002577, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9785/0.9785, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08679/1.065, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] 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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.603e-05, allocations: 6.875 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002925/0.002951, allocations: 1.583 MB / 241.1 MB, free: 1.582 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006563/0.003607, allocations: 436.3 kB / 241.6 MB, free: 1.152 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.003669, allocations: 4 kB / 241.6 MB, free: 1.148 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.003696, allocations: 3.938 kB / 241.6 MB, free: 1.145 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.923e-05/0.003746, allocations: 19.84 kB / 241.6 MB, free: 1.125 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.003986, allocations: 23.91 kB / 241.6 MB, free: 1.102 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.0041, allocations: 39.86 kB / 241.7 MB, free: 1.062 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.34e-05/0.004184, allocations: 7.938 kB / 241.7 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.004305, allocations: 31.91 kB / 241.7 MB, free: 1.023 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.004367, allocations: 15.97 kB / 241.7 MB, free: 1.008 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.00439, allocations: 4 kB / 241.7 MB, free: 1.004 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.0044, allocations: 0 / 241.7 MB, free: 1.004 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.00442, allocations: 7.938 kB / 241.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.004454, allocations: 8 kB / 241.7 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.322e-05/0.004547, allocations: 23.92 kB / 241.8 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479e-05/0.004562, allocations: 0 / 241.8 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004563, allocations: 0 / 241.8 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.004581, allocations: 0 / 241.8 MB, free: 0.9648 MB / 234.7 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.0004069/0.004988, allocations: 256.5 kB / 242 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.005025, allocations: 8.031 kB / 242 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.005061, allocations: 12.86 kB / 242 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.005214, allocations: 125.7 kB / 242.1 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.005224, allocations: 8.359 kB / 242.2 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.005232, allocations: 384 / 242.2 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.005418, allocations: 100.6 kB / 242.3 MB, free: 412 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.005425, allocations: 4.125 kB / 242.3 MB, free: 408 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.005434, allocations: 4.375 kB / 242.3 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.00544, allocations: 3.938 kB / 242.3 MB, free: 400 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.005464, allocations: 7.938 kB / 242.3 MB, free: 392 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.165e-05/0.005545, allocations: 64.98 kB / 242.3 MB, free: 312 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.167e-05/0.005607, allocations: 30.56 kB / 242.4 MB, free: 272 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.005631, allocations: 20.84 kB / 242.4 MB, free: 248 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.00565, allocations: 0 / 242.4 MB, free: 248 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.005672, allocations: 30.56 kB / 242.4 MB, free: 208 kB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.005673, allocations: 0 / 242.4 MB, free: 208 kB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001198/0.005793, allocations: 49.62 kB / 242.5 MB, free: 152 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.005834, allocations: 55.41 kB / 242.5 MB, free: 84 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.005922, allocations: 118.6 kB / 242.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.005935, allocations: 25.7 kB / 242.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.00596, allocations: 84.12 kB / 242.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.005962, allocations: 0 / 242.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.005986, allocations: 13.72 kB / 242.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.006076, allocations: 322.8 kB / 243.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-06/0.006079, allocations: 0 / 243.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-06/0.006082, allocations: 0 / 243.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.171e-05/0.006104, allocations: 75.28 kB / 243.1 MB, free: 15.42 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-05/0.006125, allocations: 79.28 kB / 243.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.765e-05/0.006172, allocations: 29.64 kB / 243.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.006207, allocations: 87.27 kB / 243.3 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.006231, allocations: 83.27 kB / 243.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.123e-05/0.006282, allocations: 158.5 kB / 243.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.66e-05/0.006308, allocations: 79.28 kB / 243.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.944e-05/0.006348, allocations: 158.5 kB / 243.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.006411, allocations: 79.22 kB / 243.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.006431, allocations: 79.28 kB / 244 MB, free: 14.59 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 7.578e-05/0.006507, allocations: 181.1 kB / 244.1 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.006566, allocations: 45.62 kB / 244.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.006596, allocations: 12.22 kB / 244.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006598, allocations: 0 / 244.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006599, allocations: 0 / 244.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.006603, allocations: 7.922 kB / 244.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.536e-05/0.006668, allocations: 69.83 kB / 244.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.006673, allocations: 4 kB / 244.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.006769, allocations: 15.98 kB / 244.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.006792, allocations: 4 kB / 244.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.006794, allocations: 0 / 244.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.006801, allocations: 4 kB / 244.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.006803, allocations: 0 / 244.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.006807, allocations: 3.984 kB / 244.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.501e-05/0.006862, allocations: 61.02 kB / 244.4 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.006874, allocations: 0 / 244.4 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.281e-05/0.006897, allocations: 0 / 244.4 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-06/0.0069, allocations: 0 / 244.4 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.006908, allocations: 8 kB / 244.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.179e-05/0.00693, allocations: 12.84 kB / 244.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00693, allocations: 0 / 244.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.00711, allocations: 4 kB / 244.4 MB, free: 14.11 MB / 250.7 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.000113/0.007223, allocations: 80.42 kB / 244.5 MB, free: 14.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.071e-05/0.007284, allocations: 7.984 kB / 244.5 MB, free: 14.01 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.007288, allocations: 0 / 244.5 MB, free: 14.01 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-07/0.007289, allocations: 0 / 244.5 MB, free: 14.01 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.007437, allocations: 21.03 kB / 244.5 MB, free: 13.99 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008503/0.008287, allocations: 147.2 kB / 244.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.849e-05/0.008325, allocations: 59.34 kB / 244.7 MB, free: 13.74 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.063e-05/0.008336, allocations: 0 / 244.7 MB, free: 13.74 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.008376, allocations: 51.38 kB / 244.7 MB, free: 13.69 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008377, allocations: 0 / 244.7 MB, free: 13.69 MB / 250.7 MB Notification: Performance of Templates: time 0.002137/0.01051, allocations: 347.1 kB / 245.1 MB, free: 13.36 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4465048806741834]