Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 197.5 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009328/0.0009329, allocations: 92.67 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 45.15 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.947e-05/1.962e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4058/0.5082, allocations: 88.91 MB / 0.5912 GB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.5084, allocations: 62.05 kB / 0.5912 GB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01981/0.5282, allocations: 7.404 MB / 0.5985 GB, free: 7.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5283, allocations: 0 / 0.5985 GB, free: 7.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.5283, allocations: 0 / 0.5985 GB, free: 7.734 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005379/0.5288, allocations: 424 kB / 0.5989 GB, free: 7.281 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.5289, allocations: 12.03 kB / 0.5989 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.5291, allocations: 91.2 kB / 0.599 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.5293, allocations: 238.3 kB / 0.5992 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.5294, allocations: 153.8 kB / 0.5993 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.5294, allocations: 154.6 kB / 0.5995 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.219e-05/0.5295, allocations: 155.2 kB / 0.5996 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.956e-05/0.5296, allocations: 101 kB / 0.5997 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.5296, allocations: 79.28 kB / 0.5998 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/0.5297, allocations: 150.6 kB / 0.6 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.276e-05/0.5298, allocations: 150.6 kB / 0.6001 GB, free: 5.973 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.5301, allocations: 438 kB / 0.6005 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.88e-05/0.5301, allocations: 165.1 kB / 0.6007 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.5302, allocations: 84.08 kB / 0.6008 GB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.5302, allocations: 79.28 kB / 0.6008 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.5303, allocations: 109.8 kB / 0.6009 GB, free: 5.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.5303, allocations: 3.938 kB / 0.6009 GB, free: 5.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.688e-05/0.5304, allocations: 37.19 kB / 0.601 GB, free: 5.016 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.5305, allocations: 102.8 kB / 0.6011 GB, free: 4.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.355e-05/0.5306, allocations: 89 kB / 0.6012 GB, free: 4.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.5306, allocations: 25.7 kB / 0.6012 GB, free: 4.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.5306, allocations: 80.14 kB / 0.6013 GB, free: 4.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-06/0.5306, allocations: 128 / 0.6013 GB, free: 4.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-07/0.5306, allocations: 4 kB / 0.6013 GB, free: 4.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5308, allocations: 310.8 kB / 0.6016 GB, free: 4.367 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-06/0.5308, allocations: 0 / 0.6016 GB, free: 4.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.5308, allocations: 13.72 kB / 0.6016 GB, free: 4.348 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.5309, allocations: 78.47 kB / 0.6016 GB, free: 4.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-05/0.5309, allocations: 75.28 kB / 0.6017 GB, free: 4.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.532e-05/0.531, allocations: 37.64 kB / 0.6018 GB, free: 4.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/0.531, allocations: 87.25 kB / 0.6018 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/0.5311, allocations: 75.28 kB / 0.6019 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.563e-05/0.5312, allocations: 154.6 kB / 0.6021 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.777e-05/0.5312, allocations: 75.28 kB / 0.6021 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.903e-05/0.5313, allocations: 158.7 kB / 0.6023 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.5314, allocations: 83.28 kB / 0.6024 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.5314, allocations: 83.27 kB / 0.6024 GB, free: 3.449 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001337/0.5316, allocations: 258.5 kB / 0.6027 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.5316, allocations: 108.9 kB / 0.6028 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.5317, allocations: 104.7 kB / 0.6029 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.093e-05/0.5318, allocations: 180.2 kB / 0.6031 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.924e-05/0.5319, allocations: 180.3 kB / 0.6032 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-05/0.532, allocations: 185.7 kB / 0.6034 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.5322, allocations: 381.6 kB / 0.6038 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.663e-05/0.5323, allocations: 101 kB / 0.6039 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.5324, allocations: 105 kB / 0.604 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.84e-05/0.5324, allocations: 184.2 kB / 0.6041 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.5325, allocations: 180.3 kB / 0.6043 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.678e-05/0.5326, allocations: 180.2 kB / 0.6045 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.573e-05/0.5327, allocations: 180.2 kB / 0.6047 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.5328, allocations: 303.2 kB / 0.6049 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.791e-05/0.5329, allocations: 194 kB / 0.6051 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/0.533, allocations: 180.6 kB / 0.6053 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.5331, allocations: 109 kB / 0.6054 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.5332, allocations: 188.1 kB / 0.6056 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.5333, allocations: 108.6 kB / 0.6057 GB, free: 15.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.877e-05/0.5333, allocations: 79.28 kB / 0.6058 GB, free: 15.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5333, allocations: 0 / 0.6058 GB, free: 15.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006559/0.534, allocations: 171.6 kB / 0.6059 GB, free: 15.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001127/0.5351, allocations: 0.542 MB / 0.6065 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.491e-05/0.5352, allocations: 4 kB / 0.6065 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5352, allocations: 0 / 0.6065 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.185e-06/0.5352, allocations: 0 / 0.6065 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.5356, allocations: 0.5164 MB / 0.607 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001825/0.5357, allocations: 134.4 kB / 0.6071 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.536, allocations: 0.6729 MB / 0.6078 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.089e-05/0.5361, allocations: 0 / 0.6078 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.5361, allocations: 15.38 kB / 0.6078 GB, free: 13.79 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5361, allocations: 0 / 0.6078 GB, free: 13.79 MB / 410.7 MB Notification: Performance of Templates: time 0.006223/0.5424, allocations: 2.859 MB / 0.6106 GB, free: 10.95 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches