Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 206.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.065/2.065, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 47.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3299, allocations: 53.38 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003018/0.3329, allocations: 1.488 MB / 433.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3339, allocations: 478.8 kB / 433.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.334, allocations: 0 / 433.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.334, allocations: 3.938 kB / 433.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.3341, allocations: 23.78 kB / 433.6 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.3344, allocations: 39.89 kB / 433.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.3345, allocations: 75.64 kB / 433.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.475e-05/0.3346, allocations: 4.188 kB / 433.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.3348, allocations: 35.92 kB / 433.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.194e-05/0.3349, allocations: 39.83 kB / 433.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.3349, allocations: 7.938 kB / 433.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.516e-05/0.335, allocations: 15.98 kB / 433.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.335, allocations: 7.938 kB / 433.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.335, allocations: 23.86 kB / 433.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.3352, allocations: 66.27 kB / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3352, allocations: 4 kB / 433.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3352, allocations: 3.938 kB / 433.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3352, allocations: 0 / 433.9 MB, free: 4.387 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.0007196/0.336, allocations: 317.7 kB / 434.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.336, allocations: 8.031 kB / 434.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.3363, allocations: 32.86 kB / 434.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.3366, allocations: 126.4 kB / 434.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.3366, allocations: 4.375 kB / 434.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3366, allocations: 4.375 kB / 434.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.3369, allocations: 96.27 kB / 434.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3369, allocations: 0 / 434.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3369, allocations: 0 / 434.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3369, allocations: 0 / 434.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.3371, allocations: 63.94 kB / 434.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.3374, allocations: 139 kB / 434.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.3376, allocations: 95.81 kB / 434.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.3378, allocations: 46.55 kB / 434.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.3378, allocations: 4 kB / 434.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3378, allocations: 30.56 kB / 434.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3378, allocations: 4 kB / 434.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005419/0.3384, allocations: 141.5 kB / 435 MB, free: 3.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.3385, allocations: 114.7 kB / 435.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3386, allocations: 128.7 kB / 435.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3386, allocations: 29.7 kB / 435.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.3387, allocations: 96.12 kB / 435.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.3387, allocations: 11.84 kB / 435.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.3388, allocations: 21.7 kB / 435.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3389, allocations: 314.8 kB / 435.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3391, allocations: 31.95 kB / 435.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.3392, allocations: 50.55 kB / 435.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.3395, allocations: 82.45 kB / 435.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3395, allocations: 0 / 435.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003281/0.3398, allocations: 117.5 kB / 435.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3398, allocations: 7.938 kB / 435.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3398, allocations: 0 / 435.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3399, allocations: 7.938 kB / 436 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.34, allocations: 15.98 kB / 436 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.34, allocations: 3.984 kB / 436 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.943e-05/0.3401, allocations: 12 kB / 436 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3401, allocations: 3.984 kB / 436 MB, free: 2.035 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.0001025/0.3402, allocations: 117.9 kB / 436.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.3402, allocations: 15.83 kB / 436.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.3403, allocations: 15.92 kB / 436.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3403, allocations: 0 / 436.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3403, allocations: 0 / 436.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.3403, allocations: 7.984 kB / 436.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.3404, allocations: 125.2 kB / 436.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3404, allocations: 4 kB / 436.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3405, allocations: 19.97 kB / 436.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3405, allocations: 0 / 436.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3405, allocations: 7.938 kB / 436.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3405, allocations: 0 / 436.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3405, allocations: 4 kB / 436.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.3409, allocations: 130.8 kB / 436.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.3409, allocations: 19.89 kB / 436.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.3409, allocations: 11.92 kB / 436.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.341, allocations: 7.984 kB / 436.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.3411, allocations: 8 kB / 436.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.3411, allocations: 3.984 kB / 436.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.395e-05/0.3412, allocations: 103.3 kB / 436.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3412, allocations: 0 / 436.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001992/0.3414, allocations: 8 kB / 436.6 MB, free: 1.367 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.0001075/0.3415, allocations: 91.25 kB / 436.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003458/0.3418, allocations: 79.92 kB / 436.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3418, allocations: 0 / 436.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.342, allocations: 35.97 kB / 436.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.3421, allocations: 8.078 kB / 436.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.3427, allocations: 193.1 kB / 437 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.56e-05/0.3428, allocations: 71.66 kB / 437.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.285e-05/0.3428, allocations: 11.97 kB / 437.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.3429, allocations: 15.44 kB / 437.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3429, allocations: 3.938 kB / 437.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of Templates: time 0.003289/0.3462, allocations: 0.6756 MB / 437.8 MB, free: 140 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.370715593919158]