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.001305/0.001305, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001242/0.001242, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.549/1.549, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.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.001594/0.001594, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.396, allocations: 52.15 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003418/0.3994, allocations: 1.509 MB / 422.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008803/0.4003, allocations: 460.9 kB / 422.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.4003, allocations: 0 / 422.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.4004, allocations: 7.922 kB / 422.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.4005, allocations: 19.8 kB / 422.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.4007, allocations: 27.91 kB / 422.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.4008, allocations: 63.78 kB / 422.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.987e-05/0.4009, allocations: 11.98 kB / 422.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.4011, allocations: 39.78 kB / 423 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.17e-05/0.4012, allocations: 27.91 kB / 423 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.4012, allocations: 4 kB / 423 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.4012, allocations: 4 kB / 423 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.4012, allocations: 15.92 kB / 423 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.4013, allocations: 27.84 kB / 423.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.4014, allocations: 55.61 kB / 423.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4014, allocations: 3.938 kB / 423.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4014, allocations: 0 / 423.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4014, allocations: 4 kB / 423.1 MB, free: 12.81 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.0007324/0.4021, allocations: 388.5 kB / 423.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4022, allocations: 8.031 kB / 423.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.4022, allocations: 8.891 kB / 423.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.4024, allocations: 188.2 kB / 423.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4024, allocations: 4.312 kB / 423.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.4024, allocations: 3.938 kB / 423.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.4027, allocations: 92.22 kB / 423.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4027, allocations: 0 / 423.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4027, allocations: 0 / 423.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4027, allocations: 0 / 423.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.403, allocations: 67.88 kB / 423.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.4032, allocations: 179.5 kB / 424 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.4035, allocations: 107.7 kB / 424.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.4037, allocations: 50.61 kB / 424.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.4037, allocations: 3.984 kB / 424.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.4037, allocations: 34.56 kB / 424.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4037, allocations: 7.938 kB / 424.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005222/0.4042, allocations: 137.5 kB / 424.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.4043, allocations: 110.8 kB / 424.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.4045, allocations: 126.5 kB / 424.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.4045, allocations: 29.7 kB / 424.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.4045, allocations: 88.14 kB / 424.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.4046, allocations: 15.91 kB / 424.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.4046, allocations: 17.7 kB / 424.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.4048, allocations: 318.8 kB / 425.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.4049, allocations: 27.97 kB / 425.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.405, allocations: 50.55 kB / 425.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.4053, allocations: 86.45 kB / 425.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4053, allocations: 4 kB / 425.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003162/0.4056, allocations: 105.5 kB / 425.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4056, allocations: 4 kB / 425.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4056, allocations: 4 kB / 425.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4057, allocations: 0 / 425.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.4058, allocations: 24.06 kB / 425.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.4058, allocations: 3.938 kB / 425.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.835e-05/0.4059, allocations: 19.94 kB / 425.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.4059, allocations: 0 / 425.4 MB, free: 10.25 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.000118/0.406, allocations: 117.7 kB / 425.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.4061, allocations: 11.95 kB / 425.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.4061, allocations: 19.8 kB / 425.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4061, allocations: 0 / 425.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.4061, allocations: 8 kB / 425.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.4061, allocations: 4 kB / 425.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.4063, allocations: 177.5 kB / 425.7 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4063, allocations: 0 / 425.7 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.4064, allocations: 15.98 kB / 425.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4064, allocations: 7.984 kB / 425.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4064, allocations: 0 / 425.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4064, allocations: 0 / 425.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.4064, allocations: 4 kB / 425.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.4068, allocations: 146.6 kB / 425.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.4069, allocations: 81.11 kB / 426 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.4069, allocations: 7.984 kB / 426 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.407, allocations: 12 kB / 426 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.4071, allocations: 7.922 kB / 426 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.4071, allocations: 4 kB / 426 MB, free: 9.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.624e-05/0.4071, allocations: 106.9 kB / 426.1 MB, free: 9.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4071, allocations: 0 / 426.1 MB, free: 9.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001973/0.4073, allocations: 8 kB / 426.1 MB, free: 9.422 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.0001218/0.4075, allocations: 91.78 kB / 426.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003814/0.4078, allocations: 79.88 kB / 426.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4079, allocations: 0 / 426.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.408, allocations: 39.89 kB / 426.3 MB, free: 9.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.4082, allocations: 11.06 kB / 426.3 MB, free: 9.199 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.4088, allocations: 197.2 kB / 426.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.4092, allocations: 0.6883 MB / 427.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.561e-05/0.4093, allocations: 8.141 kB / 427.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.4093, allocations: 15.42 kB / 427.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4093, allocations: 0 / 427.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of Templates: time 0.003264/0.4126, allocations: 0.6267 MB / 427.9 MB, free: 7.613 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 -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/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.683078205212951]