Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.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.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, 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.001137/0.001137, allocations: 91.39 kB / 270.9 MB, free: 8.371 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.568/0.568, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006479/0.0006479, allocations: 20 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1259, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4762/0.6021, allocations: 88.77 MB / 0.5654 GB, free: 13.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.6024, allocations: 67.97 kB / 0.5655 GB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05117/0.6536, allocations: 9.92 MB / 0.5752 GB, free: 3.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.6536, allocations: 0 / 0.5752 GB, free: 3.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.6537, allocations: 3.938 kB / 0.5752 GB, free: 3.82 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.0006971/0.6544, allocations: 476.7 kB / 0.5756 GB, free: 3.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.6544, allocations: 8.031 kB / 0.5756 GB, free: 3.293 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.6545, allocations: 3.438 kB / 0.5756 GB, free: 3.293 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.6546, allocations: 163.1 kB / 0.5758 GB, free: 3.094 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.6546, allocations: 0 / 0.5758 GB, free: 3.094 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.6547, allocations: 0 / 0.5758 GB, free: 3.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.786e-05/0.6548, allocations: 29.7 kB / 0.5758 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.6548, allocations: 4 kB / 0.5758 GB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.6548, allocations: 7.922 kB / 0.5758 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6548, allocations: 4 kB / 0.5758 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.6549, allocations: 4.875 kB / 0.5758 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.655, allocations: 145.6 kB / 0.576 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.657e-05/0.6551, allocations: 18.61 kB / 0.576 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.6551, allocations: 3.984 kB / 0.576 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.6552, allocations: 60.7 kB / 0.576 GB, free: 2.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 5.27e-06/0.6552, allocations: 0 / 0.576 GB, free: 2.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002053/0.6554, allocations: 79.94 kB / 0.5761 GB, free: 2.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.6555, allocations: 77.11 kB / 0.5762 GB, free: 2.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.994e-05/0.6555, allocations: 89 kB / 0.5763 GB, free: 2.469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.6556, allocations: 25.7 kB / 0.5763 GB, free: 2.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.6556, allocations: 150.6 kB / 0.5764 GB, free: 2.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.6557, allocations: 0.9375 kB / 0.5764 GB, free: 2.289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.6557, allocations: 0 / 0.5764 GB, free: 2.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6558, allocations: 314.8 kB / 0.5767 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.6558, allocations: 4.125 kB / 0.5768 GB, free: 1.969 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.6558, allocations: 4 kB / 0.5768 GB, free: 1.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.6559, allocations: 29.69 kB / 0.5768 GB, free: 1.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6559, allocations: 0 / 0.5768 GB, free: 1.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.686e-05/0.656, allocations: 67.3 kB / 0.5768 GB, free: 1.852 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.6561, allocations: 29.7 kB / 0.5769 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6561, allocations: 0 / 0.5769 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6561, allocations: 0 / 0.5769 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.6561, allocations: 4 kB / 0.5769 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.6561, allocations: 96 / 0.5769 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.6562, allocations: 10.67 kB / 0.5769 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.6562, allocations: 0 / 0.5769 GB, free: 1.805 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 0.0001028/0.6563, allocations: 143.5 kB / 0.577 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.6563, allocations: 3.953 kB / 0.577 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.341e-05/0.6563, allocations: 3.125 kB / 0.577 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6563, allocations: 0 / 0.577 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6564, allocations: 0 / 0.577 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6564, allocations: 0 / 0.577 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.6565, allocations: 149.7 kB / 0.5772 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.6565, allocations: 4 kB / 0.5772 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.6565, allocations: 0 / 0.5772 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.6565, allocations: 3.953 kB / 0.5772 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.6565, allocations: 0 / 0.5772 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.6566, allocations: 0 / 0.5772 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6566, allocations: 0 / 0.5772 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.6567, allocations: 96.8 kB / 0.5773 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.6568, allocations: 77.14 kB / 0.5774 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.6568, allocations: 12.7 kB / 0.5774 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.6568, allocations: 3.938 kB / 0.5774 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.6568, allocations: 0 / 0.5774 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.6569, allocations: 0 / 0.5774 GB, free: 1.215 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.6569, allocations: 75.28 kB / 0.5774 GB, free: 1.141 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6569, allocations: 0 / 0.5774 GB, free: 1.141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008729/0.6578, allocations: 179.8 kB / 0.5776 GB, free: 0.9648 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.001179/0.659, allocations: 411.7 kB / 0.578 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.6591, allocations: 63.41 kB / 0.5781 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6591, allocations: 4 kB / 0.5781 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.6592, allocations: 59.41 kB / 0.5781 GB, free: 432 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.6593, allocations: 4 kB / 0.5781 GB, free: 428 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.6595, allocations: 99.2 kB / 0.5782 GB, free: 296 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.6599, allocations: 0.6731 MB / 0.5789 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.6599, allocations: 7.438 kB / 0.5789 GB, free: 15.59 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6599, allocations: 0 / 0.5789 GB, free: 15.59 MB / 410.7 MB Notification: Performance of Templates: time 0.01051/0.6704, allocations: 3.856 MB / 0.5827 GB, free: 11.74 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches