Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 199.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000818/0.000818, allocations: 93.78 kB / 297.4 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002202/0.0002203, allocations: 4 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2053, allocations: 51.3 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08709/0.2924, allocations: 76.95 MB / 485.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.2927, allocations: 59.97 kB / 485.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005426/0.2981, allocations: 1.662 MB / 487.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.2981, allocations: 0 / 487.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2981, allocations: 0 / 487.3 MB, free: 12.95 MB / 362.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.000464/0.2986, allocations: 395.1 kB / 487.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.2987, allocations: 8.031 kB / 487.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.299, allocations: 40.81 kB / 487.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.2992, allocations: 176.2 kB / 487.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.2992, allocations: 384 / 487.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.2992, allocations: 4.375 kB / 487.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.2995, allocations: 100.7 kB / 488 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2995, allocations: 192 / 488 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.2995, allocations: 7.938 kB / 488 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2995, allocations: 0 / 488 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.2998, allocations: 75.94 kB / 488.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.3, allocations: 199.5 kB / 488.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.3003, allocations: 107.8 kB / 488.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.3004, allocations: 54.55 kB / 488.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3005, allocations: 8 kB / 488.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3005, allocations: 42.53 kB / 488.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3005, allocations: 0 / 488.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005243/0.301, allocations: 165.6 kB / 488.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.3011, allocations: 114.9 kB / 488.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.3012, allocations: 126.1 kB / 488.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3012, allocations: 29.69 kB / 488.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.3013, allocations: 92.14 kB / 489 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.3013, allocations: 11.81 kB / 489 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.3013, allocations: 0 / 489 MB, free: 10.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3015, allocations: 318.8 kB / 489.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3016, allocations: 39.97 kB / 489.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3017, allocations: 58.55 kB / 489.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.302, allocations: 102.5 kB / 489.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.302, allocations: 0 / 489.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003193/0.3024, allocations: 129.5 kB / 489.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3024, allocations: 4 kB / 489.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3024, allocations: 11.92 kB / 489.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3024, allocations: 0 / 489.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.3026, allocations: 27.91 kB / 489.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3026, allocations: 0 / 489.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.489e-05/0.3027, allocations: 20.02 kB / 489.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.3027, allocations: 0 / 489.7 MB, free: 10.24 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.496e-05/0.3028, allocations: 117.8 kB / 489.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.3028, allocations: 4 kB / 489.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.3028, allocations: 19.8 kB / 489.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3028, allocations: 0 / 489.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3028, allocations: 0 / 489.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3028, allocations: 4 kB / 489.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.303, allocations: 177.5 kB / 490.1 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.303, allocations: 3.938 kB / 490.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.3031, allocations: 23.97 kB / 490.1 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3031, allocations: 4 kB / 490.1 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3031, allocations: 3.938 kB / 490.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3031, allocations: 0 / 490.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3031, allocations: 4 kB / 490.1 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.3035, allocations: 154.8 kB / 490.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.3035, allocations: 89 kB / 490.3 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3036, allocations: 7.875 kB / 490.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.07e-05/0.3037, allocations: 15.98 kB / 490.4 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.3037, allocations: 4 kB / 490.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.3037, allocations: 3.984 kB / 490.4 MB, free: 9.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.312e-05/0.3038, allocations: 106.5 kB / 490.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3038, allocations: 0 / 490.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.304, allocations: 12 kB / 490.5 MB, free: 9.398 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001469/0.3041, allocations: 95.25 kB / 490.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.3045, allocations: 99.8 kB / 490.7 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3045, allocations: 0 / 490.7 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.3047, allocations: 48.28 kB / 490.7 MB, free: 9.152 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.3048, allocations: 8 kB / 490.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.3053, allocations: 257.5 kB / 491 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.3056, allocations: 0.6887 MB / 491.7 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.3056, allocations: 11.42 kB / 491.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3056, allocations: 0 / 491.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of Templates: time 0.002015/0.3077, allocations: 0.8685 MB / 492.5 MB, free: 7.262 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches