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.000909/0.0009092, allocations: 177.1 kB / 8.005 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.413/1.413, allocations: 205.3 MB / 213.7 MB, free: 1.688 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.0007998/0.0007998, allocations: 98.22 kB / 261.7 MB, free: 1.621 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.1991/0.1991, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.958e-05, allocations: 4 kB / 418.2 MB, free: 28.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 58.84 MB / 477.1 MB, free: 1.672 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3618/0.4795, allocations: 88.02 MB / 0.5519 GB, free: 7.148 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.4797, allocations: 73.05 kB / 0.5519 GB, free: 7.113 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02332/0.5031, allocations: 9.73 MB / 0.5614 GB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5031, allocations: 0 / 0.5614 GB, free: 15.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.5031, 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.0005341/0.5037, allocations: 474 kB / 0.5619 GB, free: 15.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.5037, allocations: 8.031 kB / 0.5619 GB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.5037, allocations: 0 / 0.5619 GB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.333e-05/0.5038, allocations: 167 kB / 0.5621 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5038, allocations: 4.75 kB / 0.5621 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.5039, allocations: 0 / 0.5621 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.786e-05/0.5039, allocations: 0 / 0.5621 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.754e-05/0.504, allocations: 33.64 kB / 0.5621 GB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.504, allocations: 0 / 0.5621 GB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.504, allocations: 0 / 0.5621 GB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.504, allocations: 0 / 0.5621 GB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.5041, allocations: 136.4 kB / 0.5622 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.016e-05/0.5041, allocations: 22.52 kB / 0.5622 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.072e-05/0.5042, allocations: 8.953 kB / 0.5623 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.5042, allocations: 0 / 0.5623 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.5042, allocations: 58.89 kB / 0.5623 GB, free: 14.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.5042, allocations: 0 / 0.5623 GB, free: 14.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.5044, allocations: 41.62 kB / 0.5624 GB, free: 14.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.5044, allocations: 77.11 kB / 0.5624 GB, free: 14.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.869e-05/0.5045, allocations: 89.03 kB / 0.5625 GB, free: 14.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.5045, allocations: 29.45 kB / 0.5625 GB, free: 14.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.5045, allocations: 80.14 kB / 0.5626 GB, free: 14.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.5045, allocations: 0 / 0.5626 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.5045, allocations: 0 / 0.5626 GB, free: 14.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5046, allocations: 314.8 kB / 0.5629 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-06/0.5047, allocations: 0 / 0.5629 GB, free: 13.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-06/0.5047, allocations: 0 / 0.5629 GB, free: 13.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.5047, allocations: 4.062 kB / 0.5629 GB, free: 13.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5047, allocations: 0 / 0.5629 GB, free: 13.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.19e-05/0.5048, allocations: 42.45 kB / 0.563 GB, free: 13.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.5048, allocations: 32.83 kB / 0.563 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.5048, allocations: 0 / 0.563 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.5048, allocations: 0 / 0.563 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.5048, allocations: 4 kB / 0.563 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.5048, allocations: 0 / 0.563 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.5049, allocations: 0 / 0.563 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.5049, allocations: 3.938 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.541e-05/0.505, allocations: 138.1 kB / 0.5631 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-06/0.505, allocations: 7.953 kB / 0.5631 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.227e-06/0.505, allocations: 3.75 kB / 0.5631 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.505, allocations: 0 / 0.5631 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.505, allocations: 3.984 kB / 0.5631 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.505, allocations: 0 / 0.5631 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.147e-05/0.5051, allocations: 126.2 kB / 0.5633 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5051, allocations: 0 / 0.5633 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.5051, allocations: 0 / 0.5633 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5051, allocations: 0 / 0.5633 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.5051, allocations: 7.938 kB / 0.5633 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5051, allocations: 3.953 kB / 0.5633 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5051, allocations: 0 / 0.5633 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.018e-05/0.5052, allocations: 68.42 kB / 0.5633 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.5053, allocations: 77.11 kB / 0.5634 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.5053, allocations: 0 / 0.5634 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-06/0.5053, allocations: 0 / 0.5634 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.5053, allocations: 11.92 kB / 0.5634 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.5053, allocations: 4 kB / 0.5634 GB, free: 13.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.075e-05/0.5054, allocations: 83.22 kB / 0.5635 GB, free: 13.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5054, allocations: 0 / 0.5635 GB, free: 13.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005715/0.5059, allocations: 177.6 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.0006965/0.5067, allocations: 395.2 kB / 0.5641 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.011e-05/0.5067, allocations: 55.41 kB / 0.5641 GB, free: 12.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5067, allocations: 0 / 0.5641 GB, free: 12.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/0.5068, allocations: 55.41 kB / 0.5642 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.17e-05/0.5068, allocations: 0 / 0.5642 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001141/0.507, allocations: 55.61 kB / 0.5642 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.5072, allocations: 0.6729 MB / 0.5649 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.739e-06/0.5072, allocations: 0 / 0.5649 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.03e-05/0.5072, allocations: 7.438 kB / 0.5649 GB, free: 11.74 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5072, allocations: 0 / 0.5649 GB, free: 11.74 MB / 378.7 MB Notification: Performance of Templates: time 0.006811/0.514, allocations: 4.179 MB / 0.569 GB, free: 7.582 MB / 378.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