Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.423/1.423, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007875/0.0007875, allocations: 85.02 kB / 267 MB, free: 9.281 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.3803/0.3803, allocations: 43.46 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.51e-05, allocations: 0 / 425.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 58.84 MB / 484.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3761/0.5043, allocations: 88.68 MB / 0.5594 GB, free: 380 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.5045, allocations: 63.97 kB / 0.5595 GB, free: 316 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02745/0.532, allocations: 9.895 MB / 0.5691 GB, free: 6.434 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.532, allocations: 0 / 0.5691 GB, free: 6.434 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.532, allocations: 0 / 0.5691 GB, free: 6.434 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.0005574/0.5326, allocations: 471.8 kB / 0.5696 GB, free: 5.922 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.5326, allocations: 8.031 kB / 0.5696 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.5327, allocations: 7.438 kB / 0.5696 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/0.5328, allocations: 159.1 kB / 0.5697 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.5328, allocations: 0 / 0.5697 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.5328, allocations: 4 kB / 0.5697 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.815e-05/0.5329, allocations: 33.64 kB / 0.5698 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.5329, allocations: 0 / 0.5698 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.5329, allocations: 0 / 0.5698 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.5329, allocations: 6.125 kB / 0.5698 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.5329, allocations: 0 / 0.5698 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.5331, allocations: 153.6 kB / 0.5699 GB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.635e-05/0.5331, allocations: 19.02 kB / 0.5699 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.253e-05/0.5331, allocations: 8.859 kB / 0.57 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.578e-06/0.5331, allocations: 4.094 kB / 0.57 GB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/0.5332, allocations: 60.2 kB / 0.57 GB, free: 5.352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.5332, allocations: 0 / 0.57 GB, free: 5.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001583/0.5334, allocations: 68.62 kB / 0.5701 GB, free: 5.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.5334, allocations: 77.11 kB / 0.5702 GB, free: 5.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.071e-05/0.5335, allocations: 85 kB / 0.5702 GB, free: 5.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.5335, allocations: 29.73 kB / 0.5703 GB, free: 5.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.5335, allocations: 84.14 kB / 0.5703 GB, free: 4.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.5336, allocations: 0 / 0.5703 GB, free: 4.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-06/0.5336, allocations: 0 / 0.5703 GB, free: 4.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5337, allocations: 314.8 kB / 0.5706 GB, free: 4.652 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-06/0.5337, allocations: 0 / 0.5706 GB, free: 4.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.5337, allocations: 0 / 0.5706 GB, free: 4.652 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.729e-05/0.5337, allocations: 25.7 kB / 0.5707 GB, free: 4.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.5338, allocations: 12.02 kB / 0.5707 GB, free: 4.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.4e-05/0.5338, allocations: 63.95 kB / 0.5707 GB, free: 4.535 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.5339, allocations: 33.7 kB / 0.5708 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5339, allocations: 0 / 0.5708 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.5339, allocations: 0 / 0.5708 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.5339, allocations: 0.5625 kB / 0.5708 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5339, allocations: 0 / 0.5708 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.5339, allocations: 0 / 0.5708 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.5339, allocations: 0 / 0.5708 GB, free: 4.496 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 () * 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.223e-05/0.534, allocations: 142.2 kB / 0.5709 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.5341, allocations: 11.88 kB / 0.5709 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.099e-05/0.5341, allocations: 3.125 kB / 0.5709 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.5341, allocations: 0 / 0.5709 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5341, allocations: 4 kB / 0.5709 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.5341, allocations: 0 / 0.5709 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.5342, allocations: 141.7 kB / 0.5711 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.5342, allocations: 0 / 0.5711 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-06/0.5342, allocations: 7.891 kB / 0.5711 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5342, allocations: 3.984 kB / 0.5711 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.5342, allocations: 4 kB / 0.5711 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5342, allocations: 4 kB / 0.5711 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5342, allocations: 0.625 kB / 0.5711 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.916e-05/0.5343, allocations: 94.78 kB / 0.5712 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.5344, allocations: 81.09 kB / 0.5712 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.5344, allocations: 3.953 kB / 0.5713 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.735e-06/0.5344, allocations: 0 / 0.5713 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.5344, allocations: 0 / 0.5713 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.5345, allocations: 8.031 kB / 0.5713 GB, free: 3.902 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.579e-05/0.5345, allocations: 75.28 kB / 0.5713 GB, free: 3.828 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5345, allocations: 0 / 0.5713 GB, free: 3.828 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000536/0.535, allocations: 179.8 kB / 0.5715 GB, free: 3.652 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) * 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.0007362/0.5358, allocations: 395.7 kB / 0.5719 GB, free: 3.266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.856e-05/0.5359, allocations: 59.41 kB / 0.5719 GB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5359, allocations: 0 / 0.5719 GB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.5359, allocations: 59.34 kB / 0.572 GB, free: 3.125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.643e-05/0.536, allocations: 7.984 kB / 0.572 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000124/0.5361, allocations: 41.72 kB / 0.572 GB, free: 3.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.5364, allocations: 0.6733 MB / 0.5727 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.206e-06/0.5364, allocations: 7.984 kB / 0.5727 GB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/0.5364, allocations: 7.438 kB / 0.5727 GB, free: 2.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.5364, allocations: 0 / 0.5727 GB, free: 2.34 MB / 394.7 MB Notification: Performance of Templates: time 0.006692/0.5431, allocations: 3.93 MB / 0.5766 GB, free: 14.41 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches