Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 100.5 kB / 17.85 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002043/0.002043, allocations: 209.7 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.9 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.66 kB / 306.9 MB, free: 0.8633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09887, allocations: 50.53 MB / 357.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002844/0.1018, allocations: 1.562 MB / 359 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.1027, allocations: 0.4948 MB / 359.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.1028, allocations: 4 kB / 359.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.1028, allocations: 3.938 kB / 359.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.2e-05/0.1029, allocations: 19.86 kB / 359.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.1031, allocations: 31.97 kB / 359.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.1033, allocations: 67.66 kB / 359.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.1033, allocations: 12.16 kB / 359.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1035, allocations: 35.91 kB / 359.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.1036, allocations: 31.84 kB / 359.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1036, allocations: 0 / 359.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.1037, allocations: 8 kB / 359.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.1037, allocations: 11.98 kB / 359.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.1037, allocations: 35.72 kB / 359.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.1038, allocations: 35.95 kB / 359.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1038, allocations: 0 / 359.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1038, allocations: 0 / 359.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1039, allocations: 4 kB / 359.8 MB, free: 11.95 MB / 302.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.000639/0.1045, allocations: 397.7 kB / 360.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1046, allocations: 12.03 kB / 360.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/0.1049, allocations: 32.81 kB / 360.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1051, allocations: 188.2 kB / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1051, allocations: 384 / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.1051, allocations: 384 / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.1054, allocations: 100.3 kB / 360.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1054, allocations: 3.938 kB / 360.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1054, allocations: 4 kB / 360.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1054, allocations: 0 / 360.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.1057, allocations: 59.94 kB / 360.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.1059, allocations: 191.4 kB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.1062, allocations: 99.81 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.1063, allocations: 50.55 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1064, allocations: 7.938 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.1064, allocations: 34.5 kB / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1064, allocations: 0 / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005264/0.1069, allocations: 141.7 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.107, allocations: 106.8 kB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1071, allocations: 140.6 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1072, allocations: 25.7 kB / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.1072, allocations: 96.06 kB / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.1073, allocations: 7.906 kB / 361.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1073, allocations: 21.89 kB / 361.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1074, allocations: 318.8 kB / 361.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1076, allocations: 31.95 kB / 361.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.1077, allocations: 54.55 kB / 361.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.108, allocations: 82.45 kB / 361.9 MB, free: 9.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.108, allocations: 0 / 361.9 MB, free: 9.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003241/0.1083, allocations: 121.4 kB / 362.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1084, allocations: 4 kB / 362.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1084, allocations: 0 / 362.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1084, allocations: 4 kB / 362.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1085, allocations: 15.98 kB / 362.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1085, allocations: 3.984 kB / 362.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.785e-05/0.1086, allocations: 11.94 kB / 362.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1087, allocations: 8.078 kB / 362.1 MB, free: 9.336 MB / 302.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 7.289e-05/0.1087, allocations: 117.8 kB / 362.2 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.1088, allocations: 11.84 kB / 362.2 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.1088, allocations: 15.83 kB / 362.2 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1088, allocations: 0 / 362.2 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1088, allocations: 0 / 362.2 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1088, allocations: 3.984 kB / 362.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.109, allocations: 177.6 kB / 362.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.109, allocations: 3.938 kB / 362.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1091, allocations: 23.92 kB / 362.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1091, allocations: 4 kB / 362.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1091, allocations: 3.984 kB / 362.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1091, allocations: 0 / 362.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1092, allocations: 4 kB / 362.5 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.1095, allocations: 142.7 kB / 362.6 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.1095, allocations: 84.95 kB / 362.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1096, allocations: 4 kB / 362.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1097, allocations: 11.98 kB / 362.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.1097, allocations: 11.92 kB / 362.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1097, allocations: 4 kB / 362.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.728e-05/0.1098, allocations: 99.27 kB / 362.8 MB, free: 8.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1098, allocations: 3.938 kB / 362.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001991/0.11, allocations: 8 kB / 362.8 MB, free: 8.508 MB / 302.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.0001071/0.1101, allocations: 99.23 kB / 362.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.1104, allocations: 75.94 kB / 363 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1105, allocations: 4.062 kB / 363 MB, free: 8.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.1106, allocations: 35.95 kB / 363 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.1108, allocations: 11.94 kB / 363 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.1113, allocations: 232.5 kB / 363.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1115, allocations: 0.6848 MB / 364 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.1116, allocations: 15.42 kB / 364 MB, free: 7.285 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1116, allocations: 0 / 364 MB, free: 7.285 MB / 302.1 MB Notification: Performance of Templates: time 0.002115/0.1137, allocations: 0.9005 MB / 364.9 MB, free: 6.391 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches