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.001266/0.001266, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.001356/0.001356, allocations: 161.4 kB / 24.49 MB, free: 3.461 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.427/1.427, allocations: 173.5 MB / 201.1 MB, free: 12.7 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.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 0.001571/0.001571, allocations: 47.86 kB / 319.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1018, allocations: 52.16 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002667/0.1045, allocations: 1.48 MB / 373 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007568/0.1052, allocations: 421 kB / 373.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.1053, allocations: 4 kB / 373.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.1053, allocations: 3.938 kB / 373.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.327e-05/0.1054, allocations: 19.78 kB / 373.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1056, allocations: 31.91 kB / 373.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1057, allocations: 67.78 kB / 373.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.1057, allocations: 7.984 kB / 373.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1059, allocations: 35.8 kB / 373.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.1059, allocations: 27.91 kB / 373.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.106, allocations: 4 kB / 373.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.106, allocations: 4 kB / 373.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.106, allocations: 19.91 kB / 373.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.106, allocations: 23.86 kB / 373.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1062, allocations: 51.73 kB / 373.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1062, allocations: 0 / 373.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1062, allocations: 0 / 373.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1062, allocations: 4 kB / 373.8 MB, free: 5.145 MB / 334.1 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.0006681/0.1069, allocations: 318.1 kB / 374.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.1069, allocations: 12.86 kB / 374.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.1069, allocations: 8.891 kB / 374.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1071, allocations: 118.4 kB / 374.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.1071, allocations: 384 / 374.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1071, allocations: 15.88 kB / 374.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.1074, allocations: 84.22 kB / 374.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1074, allocations: 0 / 374.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1074, allocations: 0 / 374.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1074, allocations: 4 kB / 374.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.1077, allocations: 59.88 kB / 374.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.1079, allocations: 135.1 kB / 374.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.1081, allocations: 99.75 kB / 374.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.1083, allocations: 46.61 kB / 374.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.1083, allocations: 3.938 kB / 374.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1083, allocations: 38.56 kB / 374.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1083, allocations: 0 / 374.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005596/0.1089, allocations: 149.5 kB / 374.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.109, allocations: 102.8 kB / 374.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1091, allocations: 126.1 kB / 375 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1091, allocations: 29.7 kB / 375.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.1092, allocations: 92.12 kB / 375.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.1092, allocations: 15.84 kB / 375.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.1092, allocations: 17.7 kB / 375.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1094, allocations: 323.1 kB / 375.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1095, allocations: 31.91 kB / 375.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.1097, allocations: 50.53 kB / 375.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.11, allocations: 82.47 kB / 375.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.11, allocations: 0 / 375.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003362/0.1103, allocations: 117.5 kB / 375.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1103, allocations: 4 kB / 375.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1103, allocations: 3.984 kB / 375.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1103, allocations: 4 kB / 375.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1105, allocations: 20.08 kB / 375.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1105, allocations: 0 / 375.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1106, allocations: 15.92 kB / 375.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1106, allocations: 0 / 375.8 MB, free: 2.816 MB / 334.1 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 9.585e-05/0.1107, allocations: 121.8 kB / 376 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.1107, allocations: 11.89 kB / 376 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.1107, allocations: 11.97 kB / 376 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1107, allocations: 0 / 376 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1107, allocations: 0 / 376 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1108, allocations: 8 kB / 376 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.1109, allocations: 117.3 kB / 376.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1109, allocations: 0 / 376.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.111, allocations: 15.98 kB / 376.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.111, allocations: 8.031 kB / 376.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.111, allocations: 7.984 kB / 376.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.111, allocations: 0 / 376.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.111, allocations: 7.984 kB / 376.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.1114, allocations: 142.7 kB / 376.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.1114, allocations: 7.938 kB / 376.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1114, allocations: 0 / 376.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1115, allocations: 11.98 kB / 376.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.1116, allocations: 11.98 kB / 376.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.1116, allocations: 0 / 376.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.341e-05/0.1116, allocations: 98.64 kB / 376.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1116, allocations: 0 / 376.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.1118, allocations: 20 kB / 376.4 MB, free: 2.16 MB / 334.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 (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 9.001e-05/0.1119, allocations: 99.17 kB / 376.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.1123, allocations: 67.88 kB / 376.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1123, allocations: 0 / 376.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.1124, allocations: 44.22 kB / 376.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.1126, allocations: 11.92 kB / 376.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.1131, allocations: 193 kB / 376.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.102e-05/0.1132, allocations: 79.2 kB / 376.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.568e-05/0.1133, allocations: 4.062 kB / 376.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.1133, allocations: 12.5 kB / 376.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1133, allocations: 0 / 376.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Templates: time 0.003125/0.1164, allocations: 0.603 MB / 377.5 MB, free: 1 MB / 334.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/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.264829110004939]