Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 182.1 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 88.38 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5247/0.5247, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005155, allocations: 12 kB / 431.3 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1286, allocations: 58.86 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4635/0.5921, allocations: 88.76 MB / 0.5654 GB, free: 13.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.5925, allocations: 71.97 kB / 0.5655 GB, free: 13.87 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04683/0.6393, allocations: 9.919 MB / 0.5752 GB, free: 3.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6394, allocations: 0 / 0.5752 GB, free: 3.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.6394, allocations: 0 / 0.5752 GB, free: 3.969 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006745/0.6401, allocations: 480.7 kB / 0.5756 GB, free: 3.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.6401, allocations: 8.031 kB / 0.5756 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.6402, allocations: 7.438 kB / 0.5756 GB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.6403, allocations: 163.1 kB / 0.5758 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.6404, allocations: 0 / 0.5758 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.6404, allocations: 0 / 0.5758 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.029e-05/0.6405, allocations: 37.62 kB / 0.5758 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.6405, allocations: 0 / 0.5758 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.6405, allocations: 0 / 0.5758 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6405, allocations: 0 / 0.5758 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.6406, allocations: 5.031 kB / 0.5758 GB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.6407, allocations: 153.6 kB / 0.576 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.263e-05/0.6408, allocations: 14.58 kB / 0.576 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.6408, allocations: 0 / 0.576 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.6408, allocations: 64.62 kB / 0.576 GB, free: 2.887 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.6408, allocations: 4.094 kB / 0.576 GB, free: 2.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001833/0.641, allocations: 67.59 kB / 0.5761 GB, free: 2.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.6411, allocations: 81.11 kB / 0.5762 GB, free: 2.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.396e-05/0.6412, allocations: 88.94 kB / 0.5763 GB, free: 2.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.6412, allocations: 25.7 kB / 0.5763 GB, free: 2.586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.6412, allocations: 150.6 kB / 0.5764 GB, free: 2.438 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.6413, allocations: 0.9375 kB / 0.5764 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-06/0.6413, allocations: 0 / 0.5764 GB, free: 2.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6414, allocations: 314.8 kB / 0.5767 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.6414, allocations: 4 kB / 0.5767 GB, free: 2.117 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/0.6414, allocations: 4.125 kB / 0.5767 GB, free: 2.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.6415, allocations: 25.7 kB / 0.5768 GB, free: 2.082 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6415, allocations: 0 / 0.5768 GB, free: 2.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.923e-05/0.6416, allocations: 71.3 kB / 0.5768 GB, free: 2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.6416, allocations: 33.69 kB / 0.5769 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6417, allocations: 0 / 0.5769 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.6417, allocations: 4 kB / 0.5769 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/0.6417, allocations: 0 / 0.5769 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.6417, allocations: 0 / 0.5769 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.6417, allocations: 4.094 kB / 0.5769 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.6418, allocations: 0 / 0.5769 GB, free: 1.953 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: 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 9.328e-05/0.6419, allocations: 139.5 kB / 0.577 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.6419, allocations: 3.953 kB / 0.577 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.377e-05/0.6419, allocations: 3.125 kB / 0.577 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.6419, allocations: 0 / 0.577 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6419, allocations: 0 / 0.577 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.6419, allocations: 3.984 kB / 0.577 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.642, allocations: 149.7 kB / 0.5772 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6421, allocations: 4 kB / 0.5772 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-06/0.6421, allocations: 3.125 kB / 0.5772 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6421, allocations: 3.953 kB / 0.5772 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.6421, allocations: 0 / 0.5772 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6421, allocations: 0 / 0.5772 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.6421, allocations: 4 kB / 0.5772 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.6422, allocations: 92.8 kB / 0.5773 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.6423, allocations: 77.11 kB / 0.5773 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.6423, allocations: 11.98 kB / 0.5774 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.6423, allocations: 0 / 0.5774 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.6424, allocations: 3.984 kB / 0.5774 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.6424, allocations: 4.688 kB / 0.5774 GB, free: 1.359 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.798e-05/0.6424, allocations: 75.28 kB / 0.5774 GB, free: 1.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6424, allocations: 0 / 0.5774 GB, free: 1.285 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008407/0.6433, allocations: 179.8 kB / 0.5776 GB, free: 1.109 MB / 394.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.001131/0.6444, allocations: 403.8 kB / 0.578 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.6446, allocations: 63.34 kB / 0.5781 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6446, allocations: 4 kB / 0.5781 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.243e-05/0.6446, allocations: 63.47 kB / 0.5781 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.6448, allocations: 0 / 0.5781 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002101/0.645, allocations: 101.9 kB / 0.5782 GB, free: 444 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.6452, allocations: 0.677 MB / 0.5789 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.6453, allocations: 7.438 kB / 0.5789 GB, free: 15.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6453, allocations: 0 / 0.5789 GB, free: 15.72 MB / 410.7 MB Notification: Performance of Templates: time 0.01037/0.6557, allocations: 3.844 MB / 0.5826 GB, free: 11.89 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches