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.001582/0.001583, allocations: 116.9 kB / 18.41 MB, free: 4.656 MB / 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.001398/0.001398, allocations: 190.9 kB / 21.35 MB, free: 1.723 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.452/1.452, allocations: 222.9 MB / 247.1 MB, free: 4.211 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.001521/0.001521, allocations: 47.92 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.1005, allocations: 49.44 MB / 408.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002635/0.1032, allocations: 1.493 MB / 409.6 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007805/0.104, allocations: 442.9 kB / 410 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.104, allocations: 0 / 410 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.1041, allocations: 7.922 kB / 410 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.944e-05/0.1042, allocations: 23.8 kB / 410 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.1043, allocations: 27.91 kB / 410.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.1045, allocations: 71.7 kB / 410.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.1045, allocations: 11.98 kB / 410.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1047, allocations: 31.86 kB / 410.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.554e-05/0.1047, allocations: 31.84 kB / 410.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.1048, allocations: 4 kB / 410.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.1048, allocations: 4 kB / 410.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.1048, allocations: 11.97 kB / 410.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.1049, allocations: 27.86 kB / 410.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.105, allocations: 55.73 kB / 410.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.105, allocations: 4 kB / 410.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.105, allocations: 0 / 410.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.105, allocations: 0 / 410.3 MB, free: 4.625 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.0006941/0.1057, allocations: 391.1 kB / 410.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1058, allocations: 8.031 kB / 410.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.1058, allocations: 8.891 kB / 410.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.106, allocations: 186.5 kB / 410.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.106, allocations: 384 / 410.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.106, allocations: 11.94 kB / 410.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.1063, allocations: 84.22 kB / 411 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.1063, allocations: 3.938 kB / 411 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1063, allocations: 0 / 411 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1063, allocations: 0 / 411 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.1066, allocations: 67.88 kB / 411.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.1068, allocations: 187.4 kB / 411.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.1071, allocations: 111.7 kB / 411.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.1073, allocations: 42.61 kB / 411.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1073, allocations: 4 kB / 411.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1074, allocations: 42.5 kB / 411.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1074, allocations: 0 / 411.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005624/0.1079, allocations: 145.5 kB / 411.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.108, allocations: 103.2 kB / 411.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1081, allocations: 130.1 kB / 411.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1082, allocations: 25.7 kB / 411.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.1082, allocations: 92.14 kB / 411.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.1083, allocations: 11.84 kB / 411.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.1083, allocations: 21.7 kB / 412 MB, free: 2.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1085, allocations: 322.8 kB / 412.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1086, allocations: 31.97 kB / 412.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1088, allocations: 54.48 kB / 412.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.1091, allocations: 82.52 kB / 412.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1091, allocations: 0 / 412.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000333/0.1094, allocations: 105.5 kB / 412.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1094, allocations: 8 kB / 412.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1094, allocations: 0 / 412.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1095, allocations: 4.094 kB / 412.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1096, allocations: 23.91 kB / 412.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1096, allocations: 4 kB / 412.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.1097, allocations: 11.94 kB / 412.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1098, allocations: 4 kB / 412.6 MB, free: 2.051 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 0.0001101/0.1099, allocations: 117.8 kB / 412.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.1099, allocations: 7.953 kB / 412.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.1099, allocations: 11.86 kB / 412.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1099, allocations: 8 kB / 412.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.11, allocations: 0 / 412.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.11, allocations: 0 / 412.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.1101, allocations: 189.5 kB / 412.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1101, allocations: 0 / 412.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.1103, allocations: 19.97 kB / 413 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1103, allocations: 0 / 413 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1103, allocations: 4 kB / 413 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1103, allocations: 0 / 413 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1103, allocations: 0 / 413 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.1107, allocations: 146.6 kB / 413.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.1108, allocations: 81.11 kB / 413.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1108, allocations: 3.984 kB / 413.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.1109, allocations: 19.92 kB / 413.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.111, allocations: 8 kB / 413.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.111, allocations: 0 / 413.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1111, allocations: 101.5 kB / 413.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1111, allocations: 0 / 413.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002041/0.1113, allocations: 16 kB / 413.3 MB, free: 1.227 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 0.00012/0.1114, allocations: 103.6 kB / 413.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.1118, allocations: 67.94 kB / 413.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1118, allocations: 0 / 413.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1119, allocations: 47.89 kB / 413.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.1121, allocations: 8.312 kB / 413.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.1127, allocations: 210.5 kB / 413.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.113, allocations: 0.6922 MB / 414.4 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.1131, allocations: 11.42 kB / 414.5 MB, free: 24 kB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1131, allocations: 0 / 414.5 MB, free: 24 kB / 334.1 MB Notification: Performance of Templates: time 0.002588/0.1157, allocations: 0.8917 MB / 415.3 MB, free: 15.14 MB / 350.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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.785209532012232]