Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 183.7 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.399/1.399, 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.0008105/0.0008105, allocations: 101.8 kB / 267.1 MB, free: 9.273 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.3761/0.3761, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.663e-05, allocations: 0 / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 58.85 MB / 484.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4973, allocations: 88.67 MB / 0.5594 GB, free: 15.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.4976, allocations: 64.8 kB / 0.5595 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02466/0.5222, allocations: 9.9 MB / 0.5691 GB, free: 8.395 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5223, allocations: 0 / 0.5691 GB, free: 8.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.5223, allocations: 0 / 0.5691 GB, free: 8.395 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.0005329/0.5228, allocations: 470.9 kB / 0.5696 GB, free: 7.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5229, allocations: 8.031 kB / 0.5696 GB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.5229, allocations: 3.438 kB / 0.5696 GB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.704e-05/0.523, allocations: 159.1 kB / 0.5697 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.523, allocations: 0 / 0.5697 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.523, allocations: 8 kB / 0.5697 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/0.5231, allocations: 33.62 kB / 0.5698 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.5231, allocations: 0 / 0.5698 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.5231, allocations: 0 / 0.5698 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5232, allocations: 5.312 kB / 0.5698 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.5232, allocations: 4 kB / 0.5698 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001015/0.5233, allocations: 145.6 kB / 0.5699 GB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.318e-05/0.5233, allocations: 22.23 kB / 0.5699 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.5234, allocations: 12.8 kB / 0.57 GB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-06/0.5234, allocations: 0 / 0.57 GB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.5234, allocations: 60.25 kB / 0.57 GB, free: 7.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.5234, allocations: 0 / 0.57 GB, free: 7.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.5236, allocations: 64.59 kB / 0.5701 GB, free: 7.254 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.5236, allocations: 77.11 kB / 0.5701 GB, free: 7.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.965e-05/0.5236, allocations: 85 kB / 0.5702 GB, free: 7.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.5236, allocations: 29.73 kB / 0.5703 GB, free: 7.035 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.432e-05/0.5237, allocations: 84.14 kB / 0.5703 GB, free: 6.949 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.5237, allocations: 0 / 0.5703 GB, free: 6.949 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-06/0.5237, allocations: 0 / 0.5703 GB, free: 6.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.5237, allocations: 314.8 kB / 0.5706 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.5238, allocations: 0 / 0.5706 GB, free: 6.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.5238, allocations: 4 kB / 0.5706 GB, free: 6.629 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.974e-05/0.5238, allocations: 29.64 kB / 0.5707 GB, free: 6.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5238, allocations: 8.016 kB / 0.5707 GB, free: 6.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.884e-05/0.5238, allocations: 63.97 kB / 0.5707 GB, free: 6.516 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.5239, allocations: 29.7 kB / 0.5708 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5239, allocations: 0 / 0.5708 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5239, allocations: 6.797 kB / 0.5708 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.5239, allocations: 0 / 0.5708 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.5239, allocations: 4 kB / 0.5708 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.113e-05/0.5239, allocations: 3.75 kB / 0.5708 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.524, allocations: 0 / 0.5708 GB, free: 6.473 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 5.121e-05/0.524, allocations: 132.8 kB / 0.5709 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.524, allocations: 7.953 kB / 0.5709 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.094e-05/0.524, allocations: 3.125 kB / 0.5709 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.524, allocations: 0 / 0.5709 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.5241, allocations: 0 / 0.5709 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.5241, allocations: 0 / 0.5709 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.685e-05/0.5241, allocations: 145.7 kB / 0.5711 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5241, allocations: 4 kB / 0.5711 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-06/0.5241, allocations: 7.891 kB / 0.5711 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.5241, allocations: 0 / 0.5711 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.5242, allocations: 0 / 0.5711 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.5242, allocations: 7.938 kB / 0.5711 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5242, allocations: 0 / 0.5711 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.977e-05/0.5242, allocations: 97.45 kB / 0.5712 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.5243, allocations: 77.11 kB / 0.5712 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.5243, allocations: 3.953 kB / 0.5712 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-06/0.5243, allocations: 4 kB / 0.5712 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.5243, allocations: 0 / 0.5712 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.5243, allocations: 4.031 kB / 0.5713 GB, free: 5.895 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.743e-05/0.5243, allocations: 75.28 kB / 0.5713 GB, free: 5.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5243, allocations: 0 / 0.5713 GB, free: 5.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004966/0.5248, allocations: 183.9 kB / 0.5715 GB, free: 5.656 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.0006337/0.5255, allocations: 401.2 kB / 0.5719 GB, free: 5.281 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.882e-05/0.5256, allocations: 63.34 kB / 0.5719 GB, free: 5.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5256, allocations: 1.5 kB / 0.5719 GB, free: 5.207 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.768e-05/0.5256, allocations: 55.41 kB / 0.572 GB, free: 5.141 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.479e-05/0.5257, allocations: 2.641 kB / 0.572 GB, free: 5.141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001171/0.5258, allocations: 44 kB / 0.572 GB, free: 5.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.5259, allocations: 0.6809 MB / 0.5727 GB, free: 4.371 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.989e-06/0.5259, allocations: 0 / 0.5727 GB, free: 4.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-06/0.5259, allocations: 7.438 kB / 0.5727 GB, free: 4.363 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.526, allocations: 0 / 0.5727 GB, free: 4.363 MB / 394.7 MB Notification: Performance of Templates: time 0.005472/0.5314, allocations: 3.936 MB / 0.5766 GB, free: 452 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches