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.001977/0.001977, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001945/0.001945, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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.577/1.577, allocations: 173.3 MB / 200.8 MB, free: 9.301 MB / 186.7 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.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 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.394e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002929/0.002962, allocations: 1.481 MB / 268.8 MB, free: 5.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009708/0.003933, allocations: 458.6 kB / 269.2 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.003972, allocations: 0 / 269.2 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.004003, allocations: 7.922 kB / 269.2 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.004107, allocations: 15.81 kB / 269.3 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.004275, allocations: 31.83 kB / 269.3 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.004407, allocations: 75.66 kB / 269.4 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.004463, allocations: 3.953 kB / 269.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.004639, allocations: 47.88 kB / 269.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.004711, allocations: 23.97 kB / 269.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.004737, allocations: 4 kB / 269.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.679e-05/0.004754, allocations: 4 kB / 269.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.004784, allocations: 15.94 kB / 269.5 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.004827, allocations: 15.92 kB / 269.5 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.004976, allocations: 59.78 kB / 269.5 MB, free: 4.488 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.00498, allocations: 0 / 269.5 MB, free: 4.488 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.004982, allocations: 4 kB / 269.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.004987, allocations: 0 / 269.5 MB, free: 4.484 MB / 250.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.000723/0.00571, allocations: 404 kB / 269.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.005749, allocations: 8.922 kB / 269.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.005799, allocations: 8.891 kB / 269.9 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.00593, allocations: 128.5 kB / 270.1 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.005945, allocations: 4.375 kB / 270.1 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.005959, allocations: 4.359 kB / 270.1 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.006199, allocations: 92.83 kB / 270.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.00621, allocations: 11.88 kB / 270.2 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.006226, allocations: 4 kB / 270.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.00623, allocations: 0 / 270.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.00643, allocations: 39.97 kB / 270.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.006651, allocations: 148.1 kB / 270.4 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.006914, allocations: 113.2 kB / 270.5 MB, free: 3.379 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.007041, allocations: 47.11 kB / 270.5 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.007067, allocations: 7.938 kB / 270.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.007109, allocations: 41.39 kB / 270.6 MB, free: 3.262 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.00711, allocations: 0 / 270.6 MB, free: 3.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004666/0.007577, allocations: 121.5 kB / 270.7 MB, free: 3.137 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.007658, allocations: 106.8 kB / 270.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.007827, allocations: 195.9 kB / 271 MB, free: 2.801 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.007852, allocations: 30.08 kB / 271 MB, free: 2.766 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.007937, allocations: 142.9 kB / 271.2 MB, free: 2.621 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.007971, allocations: 7.906 kB / 271.2 MB, free: 2.613 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.008029, allocations: 27.36 kB / 271.2 MB, free: 2.578 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002826/0.008311, allocations: 0.4923 MB / 271.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.008412, allocations: 19.98 kB / 271.7 MB, free: 2.055 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.008532, allocations: 47.05 kB / 271.7 MB, free: 1.996 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.008751, allocations: 78.97 kB / 271.8 MB, free: 1.906 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.008753, allocations: 4 kB / 271.8 MB, free: 1.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002702/0.009024, allocations: 93.55 kB / 271.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.009045, allocations: 11.94 kB / 271.9 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.00905, allocations: 0 / 271.9 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.009064, allocations: 0 / 271.9 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.009206, allocations: 15.98 kB / 271.9 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.009214, allocations: 8.078 kB / 272 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.009288, allocations: 4 kB / 272 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.0093, allocations: 4 kB / 272 MB, free: 1.762 MB / 250.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 0.0001217/0.009422, allocations: 160.5 kB / 272.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.009447, allocations: 15.94 kB / 272.1 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.009489, allocations: 15.86 kB / 272.2 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.009493, allocations: 4 kB / 272.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.009497, allocations: 0 / 272.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.009499, allocations: 3.938 kB / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.009649, allocations: 136.6 kB / 272.3 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.009653, allocations: 7.984 kB / 272.3 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.009755, allocations: 15.98 kB / 272.3 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.009757, allocations: 0 / 272.3 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.00977, allocations: 4 kB / 272.3 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.009778, allocations: 3.938 kB / 272.3 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.00978, allocations: 0 / 272.3 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.0101, allocations: 143.7 kB / 272.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.01012, allocations: 11.94 kB / 272.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01014, allocations: 8 kB / 272.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.01022, allocations: 7.938 kB / 272.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.01028, allocations: 7.984 kB / 272.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.01028, allocations: 0 / 272.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.01039, allocations: 150.7 kB / 272.6 MB, free: 1 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01039, allocations: 0 / 272.6 MB, free: 1 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.01058, allocations: 8 kB / 272.7 MB, free: 0.9922 MB / 250.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 0.000124/0.01071, allocations: 99.23 kB / 272.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.01102, allocations: 63.73 kB / 272.8 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01102, allocations: 0 / 272.8 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.01115, allocations: 47.58 kB / 272.9 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.01133, allocations: 11.94 kB / 272.9 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/0.01185, allocations: 189.3 kB / 273.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.994e-05/0.01194, allocations: 75.7 kB / 273.1 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.801e-05/0.01199, allocations: 0 / 273.1 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.01204, allocations: 16.5 kB / 273.1 MB, free: 436 kB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01204, allocations: 0 / 273.1 MB, free: 436 kB / 250.7 MB Notification: Performance of Templates: time 0.00345/0.01549, allocations: 0.6175 MB / 273.8 MB, free: 15.81 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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: 4.5530204069800675]