Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008331/0.0008331, allocations: 182.6 kB / 18.09 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 242.1 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007765/0.0007767, allocations: 95.88 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3702/0.3702, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003931, allocations: 12 kB / 461.1 MB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3404, allocations: 61.88 MB / 0.5107 GB, free: 37.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4628, allocations: 89.79 MB / 0.5984 GB, free: 5.316 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.463, allocations: 71.95 kB / 0.5985 GB, free: 5.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02772/0.4908, allocations: 9.733 MB / 0.608 GB, free: 11.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4908, allocations: 0 / 0.608 GB, free: 11.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.4908, allocations: 0 / 0.608 GB, free: 11.5 MB / 426.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.0007433/0.4916, allocations: 469 kB / 0.6084 GB, free: 10.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4917, allocations: 15.97 kB / 0.6084 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.4917, allocations: 0.9375 kB / 0.6084 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.4918, allocations: 164.2 kB / 0.6086 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4918, allocations: 4.375 kB / 0.6086 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.4919, allocations: 384 / 0.6086 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.492, allocations: 38.25 kB / 0.6086 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.492, allocations: 192 / 0.6086 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.492, allocations: 3.938 kB / 0.6086 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.492, allocations: 0 / 0.6086 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.952e-05/0.4921, allocations: 0 / 0.6086 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.4922, allocations: 145.7 kB / 0.6088 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.222e-05/0.4923, allocations: 30.44 kB / 0.6088 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.4923, allocations: 8.844 kB / 0.6088 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.4923, allocations: 4.094 kB / 0.6088 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.072e-05/0.4924, allocations: 60.27 kB / 0.6089 GB, free: 10.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.4924, allocations: 3.938 kB / 0.6089 GB, free: 10.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001801/0.4926, allocations: 67.25 kB / 0.6089 GB, free: 10.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.4927, allocations: 81.05 kB / 0.609 GB, free: 10.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.453e-05/0.4927, allocations: 97.97 kB / 0.6091 GB, free: 10.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.4928, allocations: 25.7 kB / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.4928, allocations: 80.14 kB / 0.6092 GB, free: 10 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.4928, allocations: 0 / 0.6092 GB, free: 10 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.4928, allocations: 4 kB / 0.6092 GB, free: 10 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.493, allocations: 314.8 kB / 0.6095 GB, free: 9.684 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.493, allocations: 0 / 0.6095 GB, free: 9.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.493, allocations: 0 / 0.6095 GB, free: 9.684 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.237e-05/0.493, allocations: 64.33 kB / 0.6096 GB, free: 9.605 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4931, allocations: 0 / 0.6096 GB, free: 9.605 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001104/0.4932, allocations: 63.39 kB / 0.6096 GB, free: 9.531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.4932, allocations: 29.7 kB / 0.6097 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4932, allocations: 3.938 kB / 0.6097 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4932, allocations: 3.938 kB / 0.6097 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-06/0.4933, allocations: 4 kB / 0.6097 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4933, allocations: 0 / 0.6097 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.4933, allocations: 4 kB / 0.6097 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.4933, allocations: 0 / 0.6097 GB, free: 9.48 MB / 426.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 9.333e-05/0.4934, allocations: 139.6 kB / 0.6098 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.4934, allocations: 0 / 0.6098 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.4934, allocations: 14.64 kB / 0.6098 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4934, allocations: 0 / 0.6098 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4935, allocations: 0 / 0.6098 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.4935, allocations: 0 / 0.6098 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.4936, allocations: 145.7 kB / 0.61 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4936, allocations: 0 / 0.61 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.4936, allocations: 4 kB / 0.61 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4936, allocations: 4 kB / 0.61 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.4936, allocations: 7.922 kB / 0.61 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4936, allocations: 3.938 kB / 0.61 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4936, allocations: 0 / 0.61 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.4938, allocations: 90.78 kB / 0.6101 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.4938, allocations: 81.09 kB / 0.6101 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.4938, allocations: 3.938 kB / 0.6102 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-06/0.4938, allocations: 4 kB / 0.6102 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.4939, allocations: 4.031 kB / 0.6102 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.4939, allocations: 4 kB / 0.6102 GB, free: 8.879 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.109e-05/0.4939, allocations: 75.28 kB / 0.6102 GB, free: 8.805 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4939, allocations: 0 / 0.6102 GB, free: 8.805 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007013/0.4946, allocations: 179.7 kB / 0.6104 GB, free: 8.629 MB / 426.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.001037/0.4957, allocations: 401.5 kB / 0.6108 GB, free: 8.238 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.397e-05/0.4958, allocations: 59.41 kB / 0.6108 GB, free: 8.168 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4958, allocations: 0 / 0.6108 GB, free: 8.168 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/0.4958, allocations: 55.39 kB / 0.6109 GB, free: 8.102 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.496, allocations: 4.125 kB / 0.6109 GB, free: 8.098 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001893/0.4962, allocations: 82.7 kB / 0.611 GB, free: 7.988 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.4965, allocations: 0.6731 MB / 0.6116 GB, free: 7.289 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.965e-06/0.4965, allocations: 0 / 0.6116 GB, free: 7.289 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.4965, allocations: 7.438 kB / 0.6116 GB, free: 7.281 MB / 426.7 MB Notification: Performance of SimCode: time 2.384e-06/0.4965, allocations: 0 / 0.6116 GB, free: 7.281 MB / 426.7 MB Notification: Performance of Templates: time 0.008305/0.5048, allocations: 4.246 MB / 0.6158 GB, free: 3.035 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches