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.001482/0.001482, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001705/0.001705, allocations: 217.2 kB / 23.75 MB, free: 4.668 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 1.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001596/0.001596, allocations: 47.92 kB / 378.2 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2909, allocations: 53.37 MB / 431.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003121/0.294, allocations: 1.531 MB / 433.1 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.295, allocations: 0.5025 MB / 433.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.2951, allocations: 0 / 433.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.2951, allocations: 7.922 kB / 433.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.71e-05/0.2952, allocations: 27.8 kB / 433.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.2954, allocations: 35.89 kB / 433.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.2956, allocations: 71.7 kB / 433.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.2956, allocations: 4.188 kB / 433.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.2958, allocations: 39.86 kB / 433.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.886e-05/0.2959, allocations: 39.83 kB / 433.9 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2959, allocations: 4 kB / 433.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.233e-05/0.296, allocations: 11.98 kB / 433.9 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.296, allocations: 12 kB / 433.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.296, allocations: 27.8 kB / 433.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.2962, allocations: 67.53 kB / 434 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2962, allocations: 0 / 434 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2962, allocations: 0 / 434 MB, free: 4.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2962, allocations: 0 / 434 MB, free: 4.562 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.0006711/0.2968, allocations: 315.4 kB / 434.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2969, allocations: 16.03 kB / 434.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/0.2972, allocations: 32.86 kB / 434.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.2974, allocations: 130.4 kB / 434.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-06/0.2974, allocations: 384 / 434.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.2975, allocations: 384 / 434.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.2977, allocations: 92.34 kB / 434.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2977, allocations: 3.938 kB / 434.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2977, allocations: 4 kB / 434.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.2978, allocations: 3.984 kB / 434.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002554/0.298, allocations: 55.94 kB / 434.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.2982, allocations: 166.5 kB / 434.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.2985, allocations: 95.75 kB / 434.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2987, allocations: 50.61 kB / 434.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.2987, allocations: 3.938 kB / 434.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.2987, allocations: 34.5 kB / 435 MB, free: 3.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.2987, allocations: 0 / 435 MB, free: 3.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005319/0.2993, allocations: 141.6 kB / 435.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.2993, allocations: 106.8 kB / 435.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2995, allocations: 132.3 kB / 435.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2995, allocations: 29.64 kB / 435.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.2995, allocations: 92.12 kB / 435.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.2996, allocations: 16.12 kB / 435.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.2996, allocations: 25.7 kB / 435.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2997, allocations: 322.7 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.2999, allocations: 31.97 kB / 435.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.3, allocations: 46.53 kB / 435.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.3003, allocations: 86.45 kB / 436 MB, free: 2.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3003, allocations: 0 / 436 MB, free: 2.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003204/0.3006, allocations: 117.5 kB / 436.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3006, allocations: 8 kB / 436.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3006, allocations: 0 / 436.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3006, allocations: 0 / 436.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3008, allocations: 15.98 kB / 436.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3008, allocations: 0 / 436.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.565e-05/0.3009, allocations: 11.98 kB / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3009, allocations: 12.08 kB / 436.1 MB, free: 2.164 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.0001146/0.301, allocations: 109.8 kB / 436.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.301, allocations: 11.89 kB / 436.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.3011, allocations: 15.92 kB / 436.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3011, allocations: 0 / 436.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3011, allocations: 4 kB / 436.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3011, allocations: 96 / 436.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3012, allocations: 156.7 kB / 436.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3012, allocations: 7.922 kB / 436.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.3014, allocations: 23.92 kB / 436.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3014, allocations: 0 / 436.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3014, allocations: 8 kB / 436.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.3014, allocations: 3.984 kB / 436.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3014, allocations: 0 / 436.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.3017, allocations: 134.8 kB / 436.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.3017, allocations: 15.89 kB / 436.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.3018, allocations: 4 kB / 436.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.63e-05/0.3018, allocations: 11.98 kB / 436.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.3019, allocations: 11.92 kB / 436.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.3019, allocations: 0 / 436.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.869e-05/0.302, allocations: 107.3 kB / 436.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.302, allocations: 0 / 436.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002025/0.3022, allocations: 8 kB / 436.8 MB, free: 1.461 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.826e-05/0.3023, allocations: 95.23 kB / 436.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.3026, allocations: 75.94 kB / 436.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3026, allocations: 4.062 kB / 436.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.3028, allocations: 35.97 kB / 437 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.3029, allocations: 7.922 kB / 437 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.3035, allocations: 205.2 kB / 437.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.3038, allocations: 0.6885 MB / 437.9 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.42e-05/0.3039, allocations: 0 / 437.9 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.3039, allocations: 15.42 kB / 437.9 MB, free: 284 kB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3039, allocations: 0 / 437.9 MB, free: 284 kB / 334.1 MB Notification: Performance of Templates: time 0.00345/0.3074, allocations: 0.6332 MB / 438.5 MB, free: 15.64 MB / 350.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: 4.855171196162701]