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.001435/0.001435, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009085/0.0009084, allocations: 86.62 kB / 261.8 MB, free: 1.609 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.2168/0.2168, allocations: 43.49 MB / 353.2 MB, free: 264 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.229e-05/1.231e-05, allocations: 0 / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 58.87 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4915, allocations: 88.01 MB / 0.5519 GB, free: 7.148 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.4917, allocations: 63.34 kB / 0.5519 GB, free: 7.117 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02412/0.5158, allocations: 9.735 MB / 0.5614 GB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5159, allocations: 0 / 0.5614 GB, free: 15.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.5159, allocations: 0 / 0.5614 GB, free: 15.59 MB / 378.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.000665/0.5166, allocations: 474 kB / 0.5619 GB, free: 15.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5166, allocations: 12.03 kB / 0.5619 GB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.5167, allocations: 0 / 0.5619 GB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.5168, allocations: 167 kB / 0.5621 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.5168, allocations: 4 kB / 0.5621 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.5168, allocations: 0 / 0.5621 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.079e-05/0.5169, allocations: 4 kB / 0.5621 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.719e-05/0.5169, allocations: 29.64 kB / 0.5621 GB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5169, allocations: 0 / 0.5621 GB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.5169, allocations: 3.938 kB / 0.5621 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.517, allocations: 0 / 0.5621 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.5171, allocations: 134.2 kB / 0.5622 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.407e-05/0.5171, allocations: 21.52 kB / 0.5623 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.191e-05/0.5172, allocations: 4.859 kB / 0.5623 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-06/0.5172, allocations: 0 / 0.5623 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.5172, allocations: 60.8 kB / 0.5623 GB, free: 14.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.5172, allocations: 0 / 0.5623 GB, free: 14.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001832/0.5174, allocations: 33.64 kB / 0.5623 GB, free: 14.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.5175, allocations: 88.62 kB / 0.5624 GB, free: 14.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.477e-05/0.5175, allocations: 85 kB / 0.5625 GB, free: 14.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.5175, allocations: 29.7 kB / 0.5625 GB, free: 14.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.5176, allocations: 80.14 kB / 0.5626 GB, free: 14.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.5176, allocations: 0 / 0.5626 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.5176, allocations: 0 / 0.5626 GB, free: 14.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5177, allocations: 310.8 kB / 0.5629 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.141e-06/0.5177, allocations: 0 / 0.5629 GB, free: 13.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.5178, allocations: 0 / 0.5629 GB, free: 13.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.5178, allocations: 8.062 kB / 0.5629 GB, free: 13.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5178, allocations: 0 / 0.5629 GB, free: 13.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.336e-05/0.5179, allocations: 40.64 kB / 0.563 GB, free: 13.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.5179, allocations: 37.69 kB / 0.563 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5179, allocations: 0 / 0.563 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5179, allocations: 0.75 kB / 0.563 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.5179, allocations: 0 / 0.563 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.518, allocations: 0 / 0.563 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.518, allocations: 0 / 0.563 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-06/0.518, allocations: 4 kB / 0.563 GB, free: 13.79 MB / 378.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 7.226e-05/0.5181, allocations: 134.7 kB / 0.5631 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.5181, allocations: 3.953 kB / 0.5631 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.376e-05/0.5181, allocations: 3.75 kB / 0.5631 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.5181, allocations: 7.938 kB / 0.5631 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5181, allocations: 0 / 0.5631 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5181, allocations: 3.984 kB / 0.5631 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.262e-05/0.5182, allocations: 122.2 kB / 0.5633 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5182, allocations: 0 / 0.5633 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.5182, allocations: 3.938 kB / 0.5633 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.5182, allocations: 4 kB / 0.5633 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.5182, allocations: 4 kB / 0.5633 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.5182, allocations: 3.953 kB / 0.5633 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5182, allocations: 0 / 0.5633 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.325e-05/0.5183, allocations: 63.25 kB / 0.5633 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.5184, allocations: 77.11 kB / 0.5634 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.5184, allocations: 4 kB / 0.5634 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-06/0.5184, allocations: 0 / 0.5634 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.5184, allocations: 7.984 kB / 0.5634 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.5184, allocations: 4 kB / 0.5634 GB, free: 13.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.351e-05/0.5185, allocations: 79.28 kB / 0.5635 GB, free: 13.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.693e-06/0.5185, allocations: 0 / 0.5635 GB, free: 13.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005755/0.5191, allocations: 184.1 kB / 0.5637 GB, free: 13.03 MB / 378.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.0007433/0.5198, allocations: 396.1 kB / 0.5641 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.611e-05/0.5199, allocations: 55.41 kB / 0.5641 GB, free: 12.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5199, allocations: 0 / 0.5641 GB, free: 12.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.831e-05/0.52, allocations: 51.41 kB / 0.5642 GB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.961e-05/0.5201, allocations: 12.36 kB / 0.5642 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001572/0.5202, allocations: 51.44 kB / 0.5642 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.5205, allocations: 0.6729 MB / 0.5649 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.921e-06/0.5205, allocations: 4 kB / 0.5649 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.068e-05/0.5205, allocations: 7.438 kB / 0.5649 GB, free: 11.74 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5205, allocations: 0 / 0.5649 GB, free: 11.74 MB / 378.7 MB Notification: Performance of Templates: time 0.006808/0.5273, allocations: 4.174 MB / 0.569 GB, free: 7.582 MB / 378.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