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.001069/0.001069, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003774/0.003774, allocations: 148.5 kB / 24.68 MB, free: 9.434 MB / 18.57 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 0.8866/0.8866, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 1.904e-06/1.904e-06, allocations: 0 / 319.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.065e-05, allocations: 6.219 kB / 319.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001957/0.001988, allocations: 1.46 MB / 321.1 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005775/0.002565, allocations: 426.9 kB / 321.6 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.002602, allocations: 0 / 321.6 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.002635, allocations: 7.922 kB / 321.6 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.367e-05/0.002729, allocations: 23.8 kB / 321.6 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.002899, allocations: 27.89 kB / 321.6 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.002997, allocations: 75.59 kB / 321.7 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.003051, allocations: 11.88 kB / 321.7 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.003209, allocations: 43.89 kB / 321.7 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.003265, allocations: 27.95 kB / 321.8 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.003289, allocations: 7.938 kB / 321.8 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.0033, allocations: 4 kB / 321.8 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.003321, allocations: 8 kB / 321.8 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.003348, allocations: 19.92 kB / 321.8 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.003465, allocations: 59.84 kB / 321.9 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.003468, allocations: 0 / 321.9 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003469, allocations: 0 / 321.9 MB, free: 3.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.003473, allocations: 3.938 kB / 321.9 MB, free: 3.52 MB / 282.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.0004691/0.003943, allocations: 314.1 kB / 322.2 MB, free: 3.184 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.003986, allocations: 12.92 kB / 322.2 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.004019, allocations: 8.891 kB / 322.2 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.323e-05/0.004103, allocations: 129.6 kB / 322.3 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.004113, allocations: 4.359 kB / 322.3 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.00413, allocations: 4.375 kB / 322.3 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.004316, allocations: 88.34 kB / 322.4 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.004324, allocations: 0 / 322.4 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.004335, allocations: 0 / 322.4 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.00434, allocations: 0 / 322.4 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.004478, allocations: 67.88 kB / 322.5 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.004617, allocations: 127.1 kB / 322.6 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.004768, allocations: 99.73 kB / 322.7 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.004843, allocations: 46.61 kB / 322.8 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.004858, allocations: 0 / 322.8 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.004882, allocations: 42.55 kB / 322.8 MB, free: 2.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.004882, allocations: 3.938 kB / 322.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003299/0.005212, allocations: 141.4 kB / 322.9 MB, free: 2.297 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.005268, allocations: 106.8 kB / 323 MB, free: 2.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.005352, allocations: 134 kB / 323.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.005366, allocations: 29.7 kB / 323.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.005399, allocations: 84.14 kB / 323.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.005434, allocations: 23.83 kB / 323.3 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.005469, allocations: 13.72 kB / 323.3 MB, free: 1.863 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.005559, allocations: 318.8 kB / 323.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.005637, allocations: 31.97 kB / 323.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.005709, allocations: 50.55 kB / 323.7 MB, free: 1.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.005851, allocations: 82.45 kB / 323.8 MB, free: 1.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.005853, allocations: 0 / 323.8 MB, free: 1.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001742/0.006027, allocations: 117.5 kB / 323.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.006045, allocations: 11.88 kB / 323.9 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.006052, allocations: 0 / 323.9 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.006067, allocations: 0 / 323.9 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.816e-05/0.006165, allocations: 19.97 kB / 323.9 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.006173, allocations: 7.938 kB / 323.9 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.006215, allocations: 15.92 kB / 324 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.006221, allocations: 0 / 324 MB, free: 1.188 MB / 282.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.785e-05/0.006289, allocations: 117.9 kB / 324.1 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.0063, allocations: 7.953 kB / 324.1 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.006327, allocations: 19.89 kB / 324.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.00633, allocations: 0 / 324.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.006334, allocations: 0 / 324.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006337, allocations: 0 / 324.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.802e-05/0.006415, allocations: 117.3 kB / 324.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006416, allocations: 0 / 324.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.006468, allocations: 23.97 kB / 324.2 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.00647, allocations: 0 / 324.2 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.00648, allocations: 4 kB / 324.2 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.006482, allocations: 7.938 kB / 324.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.006483, allocations: 0 / 324.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.006685, allocations: 146.7 kB / 324.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.006695, allocations: 8.094 kB / 324.4 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.006709, allocations: 0 / 324.4 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.00675, allocations: 19.91 kB / 324.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.006794, allocations: 15.98 kB / 324.4 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-06/0.006798, allocations: 0 / 324.4 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.031e-05/0.006838, allocations: 95.27 kB / 324.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006838, allocations: 0 / 324.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001347/0.006973, allocations: 8 kB / 324.5 MB, free: 0.5391 MB / 282.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 8.486e-05/0.007058, allocations: 95.25 kB / 324.6 MB, free: 448 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.007251, allocations: 79.98 kB / 324.7 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007253, allocations: 0 / 324.7 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.007321, allocations: 35.91 kB / 324.7 MB, free: 332 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.007453, allocations: 12 kB / 324.8 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.007828, allocations: 204.1 kB / 325 MB, free: 76 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.915e-05/0.007897, allocations: 75.83 kB / 325 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.007945, allocations: 16.5 kB / 325 MB, free: 15.96 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.007946, allocations: 0 / 325 MB, free: 15.96 MB / 298.7 MB Notification: Performance of Templates: time 0.00189/0.009836, allocations: 0.9142 MB / 326 MB, free: 15.05 MB / 298.7 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.136006349697709]