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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.001051, allocations: 186.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 222.9 MB / 240.9 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 105.8 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008573/0.0008575, allocations: 39.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2362, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002104/0.2384, allocations: 1.55 MB / 401 MB, free: 31.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005351/0.2389, allocations: 443 kB / 401.4 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.239, allocations: 2.594 kB / 401.4 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.239, allocations: 3.938 kB / 401.5 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.961e-05/0.2391, allocations: 15.86 kB / 401.5 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.2392, allocations: 23.97 kB / 401.5 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.198e-05/0.2393, allocations: 67.72 kB / 401.6 MB, free: 31.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.2394, allocations: 8 kB / 401.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2395, allocations: 35.83 kB / 401.6 MB, free: 31.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.2396, allocations: 31.91 kB / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.2396, allocations: 0 / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.465e-05/0.2396, allocations: 7.938 kB / 401.6 MB, free: 31.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.2396, allocations: 7.922 kB / 401.6 MB, free: 31.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.2397, allocations: 23.88 kB / 401.7 MB, free: 31.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.848e-05/0.2398, allocations: 47.8 kB / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2398, allocations: 4 kB / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.2398, allocations: 0 / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.2398, allocations: 4 kB / 401.7 MB, free: 31.11 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.0004947/0.2403, allocations: 388.7 kB / 402.1 MB, free: 30.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.2403, allocations: 12.03 kB / 402.1 MB, free: 30.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.2404, allocations: 8.844 kB / 402.1 MB, free: 30.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.813e-05/0.2404, allocations: 176.2 kB / 402.3 MB, free: 30.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2404, allocations: 12.38 kB / 402.3 MB, free: 30.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.2405, allocations: 4.125 kB / 402.3 MB, free: 30.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.2407, allocations: 88.16 kB / 402.4 MB, free: 30.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2407, allocations: 0 / 402.4 MB, free: 30.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2407, allocations: 8 kB / 402.4 MB, free: 30.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.2407, allocations: 0 / 402.4 MB, free: 30.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.2409, allocations: 55.94 kB / 402.5 MB, free: 30.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.2411, allocations: 191.4 kB / 402.6 MB, free: 30.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.2413, allocations: 99.75 kB / 402.7 MB, free: 29.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.2414, allocations: 58.48 kB / 402.8 MB, free: 29.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.2415, allocations: 0 / 402.8 MB, free: 29.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.2415, allocations: 42.55 kB / 402.8 MB, free: 29.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2415, allocations: 3.938 kB / 402.8 MB, free: 29.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000442/0.2419, allocations: 137.4 kB / 403 MB, free: 29.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.242, allocations: 115.1 kB / 403.1 MB, free: 29.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/0.242, allocations: 129.2 kB / 403.2 MB, free: 29.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.2421, allocations: 25.7 kB / 403.2 MB, free: 29.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.15e-05/0.2421, allocations: 92.12 kB / 403.3 MB, free: 29.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.2421, allocations: 11.81 kB / 403.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.2421, allocations: 21.7 kB / 403.4 MB, free: 29.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.249e-05/0.2422, allocations: 314.8 kB / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2423, allocations: 31.97 kB / 403.7 MB, free: 28.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.2424, allocations: 50.53 kB / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.2427, allocations: 90.45 kB / 403.8 MB, free: 28.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2427, allocations: 0 / 403.8 MB, free: 28.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000285/0.243, allocations: 105.5 kB / 403.9 MB, free: 28.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.243, allocations: 4 kB / 403.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.243, allocations: 4 kB / 404 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.243, allocations: 4.094 kB / 404 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.2432, allocations: 15.98 kB / 404 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2432, allocations: 0 / 404 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.2433, allocations: 15.98 kB / 404 MB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.2433, allocations: 7.984 kB / 404 MB, free: 28.55 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.074e-05/0.2434, allocations: 109.8 kB / 404.1 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.2434, allocations: 15.84 kB / 404.1 MB, free: 28.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.2434, allocations: 15.88 kB / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2434, allocations: 4.078 kB / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2434, allocations: 0 / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2434, allocations: 7.984 kB / 404.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.543e-05/0.2435, allocations: 177.5 kB / 404.3 MB, free: 28.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2436, allocations: 4 kB / 404.3 MB, free: 28.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.2437, allocations: 19.92 kB / 404.3 MB, free: 28.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.2437, allocations: 0 / 404.3 MB, free: 28.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2437, allocations: 3.984 kB / 404.3 MB, free: 28.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2437, allocations: 0 / 404.3 MB, free: 28.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2437, allocations: 4 kB / 404.4 MB, free: 28.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.2442, allocations: 0.7348 MB / 405.1 MB, free: 27.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.2443, allocations: 85.02 kB / 405.2 MB, free: 27.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2443, allocations: 7.938 kB / 405.2 MB, free: 27.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.2444, allocations: 11.98 kB / 405.2 MB, free: 27.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.2444, allocations: 11.92 kB / 405.2 MB, free: 27.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2444, allocations: 4 kB / 405.2 MB, free: 27.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.583e-05/0.2445, allocations: 95.27 kB / 405.3 MB, free: 27.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2445, allocations: 4 kB / 405.3 MB, free: 27.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000273/0.2448, allocations: 8 kB / 405.3 MB, free: 27.09 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.82e-05/0.2448, allocations: 107.2 kB / 405.4 MB, free: 26.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.2451, allocations: 63.94 kB / 405.5 MB, free: 26.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2451, allocations: 3.938 kB / 405.5 MB, free: 26.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.2452, allocations: 40.09 kB / 405.5 MB, free: 26.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.2454, allocations: 11.98 kB / 405.5 MB, free: 26.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.2458, allocations: 313.7 kB / 405.8 MB, free: 26.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.2459, allocations: 0.6887 MB / 406.5 MB, free: 25.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.492e-05/0.246, allocations: 4 kB / 406.5 MB, free: 25.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.246, allocations: 7.438 kB / 406.5 MB, free: 25.78 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.246, allocations: 4 kB / 406.5 MB, free: 25.77 MB / 298.7 MB Notification: Performance of Templates: time 0.0019/0.2479, allocations: 0.5256 MB / 407.1 MB, free: 25.25 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches