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.0008047/0.0008047, allocations: 91.62 kB / 21.43 MB, free: 3.105 MB / 18.57 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.0008854/0.0008854, allocations: 155.5 kB / 24.7 MB, free: 9.422 MB / 18.57 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 0.9361/0.9361, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.964e-06/1.964e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.553e-05, allocations: 6.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001851/0.001876, allocations: 1.491 MB / 327.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000655/0.002531, allocations: 486.7 kB / 327.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.002577, allocations: 0 / 327.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.002605, allocations: 7.875 kB / 327.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.002677, allocations: 23.78 kB / 327.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.002862, allocations: 35.91 kB / 327.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.002978, allocations: 79.64 kB / 327.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.003025, allocations: 12.11 kB / 327.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.003173, allocations: 43.91 kB / 328 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.003226, allocations: 23.95 kB / 328 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.003243, allocations: 8 kB / 328 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.165e-05/0.003285, allocations: 8 kB / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.003299, allocations: 11.92 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.003327, allocations: 23.92 kB / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.003445, allocations: 67.72 kB / 328.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.003448, allocations: 7.984 kB / 328.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003449, allocations: 0 / 328.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.003454, allocations: 0 / 328.1 MB, free: 13.1 MB / 298.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.000394/0.003848, allocations: 321.1 kB / 328.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.003885, allocations: 12.03 kB / 328.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.004055, allocations: 32.86 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.004196, allocations: 125.7 kB / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.004205, allocations: 4.375 kB / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.004213, allocations: 384 / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.004377, allocations: 92.77 kB / 328.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.004385, allocations: 4.125 kB / 328.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.004395, allocations: 4.125 kB / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.004399, allocations: 0 / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.004533, allocations: 63.94 kB / 328.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.004647, allocations: 123.1 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.004791, allocations: 99.75 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.004869, allocations: 50.59 kB / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.004889, allocations: 7.938 kB / 329 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.004911, allocations: 34.56 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.004912, allocations: 4 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002697/0.005181, allocations: 137.5 kB / 329.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.005226, allocations: 114.7 kB / 329.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.32e-05/0.00531, allocations: 137.2 kB / 329.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.005319, allocations: 29.7 kB / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.005353, allocations: 92.14 kB / 329.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.005376, allocations: 7.906 kB / 329.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.005405, allocations: 21.7 kB / 329.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.0055, allocations: 322.8 kB / 329.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.005562, allocations: 27.97 kB / 330 MB, free: 11.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.005631, allocations: 50.53 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.005768, allocations: 86.45 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005769, allocations: 0 / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001618/0.005931, allocations: 117.6 kB / 330.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.005942, allocations: 7.938 kB / 330.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.005946, allocations: 0 / 330.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.005957, allocations: 7.938 kB / 330.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.006025, allocations: 19.97 kB / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.006029, allocations: 0 / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.006068, allocations: 11.98 kB / 330.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.006073, allocations: 0 / 330.3 MB, free: 10.74 MB / 298.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 6.475e-05/0.006138, allocations: 113.8 kB / 330.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.006147, allocations: 11.98 kB / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.006169, allocations: 19.91 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.006171, allocations: 3.938 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-06/0.006174, allocations: 0 / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.006178, allocations: 4 kB / 330.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.402e-05/0.006252, allocations: 117.3 kB / 330.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.006253, allocations: 0 / 330.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.006297, allocations: 23.91 kB / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.006298, allocations: 4 kB / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.006303, allocations: 0 / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006304, allocations: 4 kB / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.006308, allocations: 7.938 kB / 330.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.006474, allocations: 138.7 kB / 330.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.006484, allocations: 11.89 kB / 330.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.006496, allocations: 4 kB / 330.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.006532, allocations: 11.98 kB / 330.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.006563, allocations: 19.86 kB / 330.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.006566, allocations: 0 / 330.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.513e-05/0.006611, allocations: 107.2 kB / 330.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006611, allocations: 0 / 330.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001209/0.006732, allocations: 8 kB / 330.9 MB, free: 10.08 MB / 298.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 6.781e-05/0.0068, allocations: 95.19 kB / 330.9 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.006965, allocations: 83.92 kB / 331 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.006966, allocations: 0 / 331 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/0.007033, allocations: 35.97 kB / 331.1 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.577e-05/0.007129, allocations: 0 / 331.1 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.007434, allocations: 220 kB / 331.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.279e-05/0.007487, allocations: 79.44 kB / 331.4 MB, free: 9.508 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.007521, allocations: 16.44 kB / 331.4 MB, free: 9.492 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007522, allocations: 0 / 331.4 MB, free: 9.492 MB / 298.7 MB Notification: Performance of Templates: time 0.001293/0.008815, allocations: 0.9317 MB / 332.3 MB, free: 8.559 MB / 298.7 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: 4.1687026945874095]