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.001267/0.001268, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.592/1.592, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009961/0.0009958, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2492/0.2492, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004198, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1588, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5185/0.6774, allocations: 88.77 MB / 0.5654 GB, free: 11.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.6777, allocations: 66.03 kB / 0.5655 GB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02894/0.7067, allocations: 9.922 MB / 0.5752 GB, free: 2.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7068, allocations: 4 kB / 0.5752 GB, free: 2.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.7068, allocations: 0 / 0.5752 GB, free: 2.43 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.0008156/0.7076, allocations: 479.8 kB / 0.5756 GB, free: 1.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/0.7077, allocations: 12.03 kB / 0.5757 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.7077, allocations: 0 / 0.5757 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.7079, allocations: 167 kB / 0.5758 GB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.7079, allocations: 0 / 0.5758 GB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.7079, allocations: 0 / 0.5758 GB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.708, allocations: 33.7 kB / 0.5758 GB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.7081, allocations: 3.938 kB / 0.5758 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.7081, allocations: 0 / 0.5758 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.7081, allocations: 0 / 0.5758 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.7081, allocations: 3.984 kB / 0.5759 GB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.7083, allocations: 149.6 kB / 0.576 GB, free: 1.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.977e-05/0.7083, allocations: 17.89 kB / 0.576 GB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.7084, allocations: 0 / 0.576 GB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.325e-05/0.7084, allocations: 64.8 kB / 0.5761 GB, free: 1.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.7084, allocations: 0 / 0.5761 GB, free: 1.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002135/0.7086, allocations: 74.5 kB / 0.5761 GB, free: 1.273 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.7087, allocations: 77.11 kB / 0.5762 GB, free: 1.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.559e-05/0.7088, allocations: 88.94 kB / 0.5763 GB, free: 1.086 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.7088, allocations: 25.7 kB / 0.5763 GB, free: 1.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.7088, allocations: 84.08 kB / 0.5764 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.7089, allocations: 0 / 0.5764 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.7089, allocations: 4.125 kB / 0.5764 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.7091, allocations: 310.8 kB / 0.5767 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.7091, allocations: 4 kB / 0.5767 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.7091, allocations: 0 / 0.5767 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.7091, allocations: 33.06 kB / 0.5767 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.7091, allocations: 0 / 0.5767 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.702e-05/0.7092, allocations: 67.3 kB / 0.5768 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.7093, allocations: 33.7 kB / 0.5768 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7093, allocations: 96 / 0.5768 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.7093, allocations: 4 kB / 0.5768 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/0.7093, allocations: 0 / 0.5768 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.7093, allocations: 0 / 0.5768 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/0.7094, allocations: 0 / 0.5768 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.7094, allocations: 0 / 0.5768 GB, free: 0.4922 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 () * 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.0001366/0.7095, allocations: 147.5 kB / 0.577 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.7095, allocations: 3.953 kB / 0.577 GB, free: 340 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.7096, allocations: 3.125 kB / 0.577 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7096, allocations: 4 kB / 0.577 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7096, allocations: 4 kB / 0.577 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7096, allocations: 4 kB / 0.577 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.7097, allocations: 145.7 kB / 0.5771 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.7097, allocations: 0 / 0.5771 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.7098, allocations: 0 / 0.5771 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/0.7098, allocations: 3.953 kB / 0.5771 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.7098, allocations: 0 / 0.5771 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.7098, allocations: 4 kB / 0.5771 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7098, allocations: 0 / 0.5771 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.7099, allocations: 94.7 kB / 0.5772 GB, free: 0 / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.71, allocations: 77.11 kB / 0.5773 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.71, allocations: 7.953 kB / 0.5773 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-06/0.7101, allocations: 0 / 0.5773 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.7101, allocations: 0 / 0.5773 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.7101, allocations: 3.938 kB / 0.5773 GB, free: 15.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.065e-05/0.7101, allocations: 75.28 kB / 0.5774 GB, free: 15.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7102, allocations: 0 / 0.5774 GB, free: 15.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006712/0.7108, allocations: 185.8 kB / 0.5776 GB, free: 15.66 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.0008372/0.7117, allocations: 406.9 kB / 0.578 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.7118, allocations: 66.52 kB / 0.578 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.7118, allocations: 4 kB / 0.578 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.362e-05/0.7118, allocations: 59.34 kB / 0.5781 GB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.826e-05/0.7119, allocations: 0 / 0.5781 GB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002038/0.7121, allocations: 74.38 kB / 0.5782 GB, free: 15.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.7124, allocations: 0.6731 MB / 0.5788 GB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.486e-06/0.7125, allocations: 0 / 0.5788 GB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.7125, allocations: 11.44 kB / 0.5788 GB, free: 14.32 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7125, allocations: 4.125 kB / 0.5788 GB, free: 14.31 MB / 394.7 MB Notification: Performance of Templates: time 0.00764/0.7201, allocations: 4.006 MB / 0.5827 GB, free: 10.31 MB / 394.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