Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 177 kB / 17.06 MB, free: 5.094 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.246/1.246, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009025/0.0009024, allocations: 93.98 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3182/0.3182, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 4 kB / 459.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3683, allocations: 61.9 MB / 0.5095 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.4844, allocations: 89.77 MB / 0.5972 GB, free: 5.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.4847, allocations: 63.97 kB / 0.5973 GB, free: 5.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02723/0.5119, allocations: 10.02 MB / 0.6071 GB, free: 11.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.512, allocations: 0 / 0.6071 GB, free: 11.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.512, allocations: 0 / 0.6071 GB, free: 11.28 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006454/0.5126, allocations: 476.8 kB / 0.6075 GB, free: 10.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.5127, allocations: 8.031 kB / 0.6075 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.5127, allocations: 0 / 0.6075 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5128, allocations: 167.1 kB / 0.6077 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.5129, allocations: 0 / 0.6077 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.5129, allocations: 3.953 kB / 0.6077 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.284e-05/0.513, allocations: 29.64 kB / 0.6077 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.513, allocations: 7.938 kB / 0.6077 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.513, allocations: 0 / 0.6077 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.513, allocations: 0 / 0.6077 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.513, allocations: 4 kB / 0.6077 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.5132, allocations: 149.7 kB / 0.6079 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.999e-05/0.5132, allocations: 18.61 kB / 0.6079 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.5133, allocations: 0 / 0.6079 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.5133, allocations: 64.16 kB / 0.608 GB, free: 10.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.5133, allocations: 0 / 0.608 GB, free: 10.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.000174/0.5135, allocations: 71.38 kB / 0.608 GB, free: 10.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.5135, allocations: 81.09 kB / 0.6081 GB, free: 10.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.38e-05/0.5136, allocations: 89 kB / 0.6082 GB, free: 9.922 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.5136, allocations: 25.7 kB / 0.6082 GB, free: 9.891 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.5136, allocations: 80.14 kB / 0.6083 GB, free: 9.809 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.5137, allocations: 0 / 0.6083 GB, free: 9.809 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-06/0.5137, allocations: 0 / 0.6083 GB, free: 9.809 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.5138, allocations: 310.8 kB / 0.6086 GB, free: 9.496 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-06/0.5138, allocations: 0 / 0.6086 GB, free: 9.496 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-06/0.5138, allocations: 8.125 kB / 0.6086 GB, free: 9.488 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.379e-05/0.5138, allocations: 29.64 kB / 0.6086 GB, free: 9.453 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5138, allocations: 0 / 0.6086 GB, free: 9.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.469e-05/0.5139, allocations: 67.39 kB / 0.6087 GB, free: 9.375 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.5139, allocations: 29.7 kB / 0.6087 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.514, allocations: 0 / 0.6087 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.514, allocations: 3.953 kB / 0.6087 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.514, allocations: 7.938 kB / 0.6087 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.514, allocations: 0 / 0.6087 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.514, allocations: 4.094 kB / 0.6087 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.514, allocations: 3.984 kB / 0.6087 GB, free: 9.32 MB / 426.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.302e-05/0.5141, allocations: 136.1 kB / 0.6089 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.5141, allocations: 3.984 kB / 0.6089 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.381e-05/0.5141, allocations: 10.7 kB / 0.6089 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.5141, allocations: 0 / 0.6089 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5142, allocations: 3.953 kB / 0.6089 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.5142, allocations: 0 / 0.6089 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.184e-05/0.5143, allocations: 153.7 kB / 0.609 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.5143, allocations: 7.938 kB / 0.609 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.5143, allocations: 0 / 0.609 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5143, allocations: 3.984 kB / 0.609 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.5143, allocations: 0 / 0.609 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5143, allocations: 0 / 0.609 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5143, allocations: 3.938 kB / 0.609 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.717e-05/0.5144, allocations: 94.78 kB / 0.6091 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.5144, allocations: 81.09 kB / 0.6092 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.5144, allocations: 4.031 kB / 0.6092 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-06/0.5145, allocations: 4 kB / 0.6092 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.5145, allocations: 0 / 0.6092 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.5145, allocations: 0 / 0.6092 GB, free: 8.719 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.515e-05/0.5145, allocations: 79.23 kB / 0.6093 GB, free: 8.641 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5145, allocations: 0 / 0.6093 GB, free: 8.641 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005029/0.515, allocations: 179.8 kB / 0.6095 GB, free: 8.465 MB / 426.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006898/0.5157, allocations: 395.8 kB / 0.6098 GB, free: 8.078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.417e-05/0.5158, allocations: 63.34 kB / 0.6099 GB, free: 8.004 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5158, allocations: 0 / 0.6099 GB, free: 8.004 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.5159, allocations: 63.45 kB / 0.61 GB, free: 7.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.92e-05/0.5159, allocations: 7.938 kB / 0.61 GB, free: 7.922 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001509/0.5161, allocations: 70.77 kB / 0.61 GB, free: 7.824 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.5163, allocations: 0.6809 MB / 0.6107 GB, free: 7.117 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.903e-06/0.5163, allocations: 0 / 0.6107 GB, free: 7.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-06/0.5163, allocations: 7.438 kB / 0.6107 GB, free: 7.109 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5163, allocations: 0 / 0.6107 GB, free: 7.109 MB / 426.7 MB Notification: Performance of Templates: time 0.00647/0.5228, allocations: 4.01 MB / 0.6146 GB, free: 3.098 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches