Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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.0008946/0.0008946, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002184, allocations: 445.8 kB / 10.44 MB, free: 256 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.0007658/0.0007658, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001832, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8849/0.8849, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.201/1.086, allocations: 52.5 MB / 238.5 MB, free: 7.609 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.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.917e-05, allocations: 3.531 kB / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002005/0.002024, allocations: 1.553 MB / 241.3 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007306/0.002755, allocations: 451.7 kB / 241.7 MB, free: 4.355 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.002784, allocations: 0 / 241.7 MB, free: 4.355 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.002805, allocations: 8.609 kB / 241.7 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/0.002854, allocations: 22.31 kB / 241.8 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.181e-05/0.002925, allocations: 27.89 kB / 241.8 MB, free: 4.301 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.003003, allocations: 71.66 kB / 241.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.21e-05/0.003035, allocations: 4 kB / 241.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.003175, allocations: 55.77 kB / 241.9 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.003225, allocations: 25.41 kB / 241.9 MB, free: 4.148 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.003243, allocations: 4 kB / 241.9 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-06/0.003252, allocations: 4 kB / 242 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.00327, allocations: 12.75 kB / 242 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.003289, allocations: 11.94 kB / 242 MB, free: 4.117 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.338e-05/0.003372, allocations: 39.84 kB / 242 MB, free: 4.078 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.487e-05/0.003387, allocations: 1.094 kB / 242 MB, free: 4.078 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003388, allocations: 0 / 242 MB, free: 4.078 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.003402, allocations: 0 / 242 MB, free: 4.078 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003679/0.00377, allocations: 295.4 kB / 242.3 MB, free: 3.77 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.003797, allocations: 8.031 kB / 242.3 MB, free: 3.762 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.003824, allocations: 4.938 kB / 242.3 MB, free: 3.758 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.866e-05/0.003903, allocations: 133.1 kB / 242.4 MB, free: 3.605 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.003911, allocations: 4.375 kB / 242.5 MB, free: 3.602 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.003922, allocations: 4.375 kB / 242.5 MB, free: 3.598 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.00405, allocations: 90.31 kB / 242.5 MB, free: 3.492 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.004056, allocations: 0 / 242.5 MB, free: 3.492 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.004063, allocations: 0 / 242.5 MB, free: 3.492 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.004068, allocations: 3.984 kB / 242.5 MB, free: 3.488 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.989e-05/0.004098, allocations: 16.95 kB / 242.6 MB, free: 3.473 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.268e-05/0.00418, allocations: 73.86 kB / 242.6 MB, free: 3.383 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.375e-05/0.004244, allocations: 67.8 kB / 242.7 MB, free: 3.289 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.004267, allocations: 18.64 kB / 242.7 MB, free: 3.262 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.00428, allocations: 0 / 242.7 MB, free: 3.262 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.0043, allocations: 38.56 kB / 242.8 MB, free: 3.215 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.0043, allocations: 0 / 242.8 MB, free: 3.215 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001303/0.004431, allocations: 62.45 kB / 242.8 MB, free: 3.148 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.004471, allocations: 107.7 kB / 242.9 MB, free: 3.02 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.882e-05/0.00453, allocations: 126.7 kB / 243 MB, free: 2.883 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.004542, allocations: 31.48 kB / 243.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.302e-05/0.004565, allocations: 88.12 kB / 243.2 MB, free: 2.758 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.004594, allocations: 11.91 kB / 243.2 MB, free: 2.746 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.004619, allocations: 13.7 kB / 243.2 MB, free: 2.727 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.004682, allocations: 322.8 kB / 243.5 MB, free: 2.402 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.004698, allocations: 4.656 kB / 243.5 MB, free: 2.398 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.004721, allocations: 18.58 kB / 243.5 MB, free: 2.371 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.004765, allocations: 41.16 kB / 243.6 MB, free: 2.324 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.004767, allocations: 0 / 243.6 MB, free: 2.324 MB / 234.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.987e-05/0.004827, allocations: 51.08 kB / 243.6 MB, free: 2.27 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.004838, allocations: 11.94 kB / 243.6 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.004843, allocations: 0 / 243.6 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.004855, allocations: 3.938 kB / 243.6 MB, free: 2.254 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.004942, allocations: 16.61 kB / 243.7 MB, free: 2.238 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.004946, allocations: 7.922 kB / 243.7 MB, free: 2.23 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.137e-05/0.004978, allocations: 12.58 kB / 243.7 MB, free: 2.219 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.004982, allocations: 0.5625 kB / 243.7 MB, free: 2.219 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 5.269e-05/0.005035, allocations: 119.4 kB / 243.8 MB, free: 2.094 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.005046, allocations: 11.98 kB / 243.8 MB, free: 2.082 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.00507, allocations: 7.969 kB / 243.8 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.005073, allocations: 3.938 kB / 243.8 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.005075, allocations: 4.5 kB / 243.8 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.005078, allocations: 0.8438 kB / 243.8 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.017e-05/0.005138, allocations: 73.88 kB / 243.9 MB, free: 1.969 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.005141, allocations: 4 kB / 243.9 MB, free: 1.965 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.005182, allocations: 17.59 kB / 243.9 MB, free: 1.949 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.00519, allocations: 7.953 kB / 243.9 MB, free: 1.941 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005192, allocations: 0 / 243.9 MB, free: 1.941 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.005197, allocations: 4 kB / 243.9 MB, free: 1.938 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.005199, allocations: 480 / 243.9 MB, free: 1.938 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.005201, allocations: 7.938 kB / 243.9 MB, free: 1.93 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.552e-05/0.005287, allocations: 86.77 kB / 244 MB, free: 1.82 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.0053, allocations: 8 kB / 244 MB, free: 1.812 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.796e-05/0.005328, allocations: 7.984 kB / 244 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.005359, allocations: 11.92 kB / 244 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.005362, allocations: 0 / 244 MB, free: 1.793 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.86e-05/0.005381, allocations: 28.83 kB / 244.1 MB, free: 1.762 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005381, allocations: 0 / 244.1 MB, free: 1.762 MB / 234.7 MB Notification: Performance of remove unused functions: time 9.713e-05/0.005478, allocations: 8 kB / 244.1 MB, free: 1.754 MB / 234.7 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 (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 6.273e-05/0.005541, allocations: 84.36 kB / 244.2 MB, free: 1.664 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.019e-05/0.005611, allocations: 24.78 kB / 244.2 MB, free: 1.637 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.005618, allocations: 4 kB / 244.2 MB, free: 1.633 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.005648, allocations: 20.84 kB / 244.2 MB, free: 1.609 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.453e-05/0.005722, allocations: 15.89 kB / 244.2 MB, free: 1.594 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/0.006484, allocations: 206.3 kB / 244.4 MB, free: 1.359 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.803e-05/0.006512, allocations: 55.36 kB / 244.5 MB, free: 1.285 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.014e-05/0.006542, allocations: 12.11 kB / 244.5 MB, free: 1.273 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.006588, allocations: 51.38 kB / 244.5 MB, free: 1.223 MB / 234.7 MB Notification: Performance of SimCode: time 7.22e-07/0.006589, allocations: 0 / 244.5 MB, free: 1.223 MB / 234.7 MB Notification: Performance of Templates: time 0.001783/0.008371, allocations: 0.593 MB / 245.1 MB, free: 0.6406 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4200107604265213]