Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 199 kB / 8.767 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008191/0.0008191, allocations: 95.41 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.188/0.188, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.637e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.08985, allocations: 63.25 MB / 0.5043 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.4676, allocations: 90.15 MB / 0.5924 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001633/0.4678, allocations: 60.16 kB / 0.5924 GB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02739/0.4953, allocations: 10.11 MB / 0.6023 GB, free: 4.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4953, allocations: 0 / 0.6023 GB, free: 4.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.4953, allocations: 0 / 0.6023 GB, free: 4.324 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.000529/0.4958, allocations: 475 kB / 0.6028 GB, free: 3.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.4959, allocations: 12.03 kB / 0.6028 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.4959, allocations: 0 / 0.6028 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.259e-05/0.496, allocations: 163 kB / 0.6029 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.496, allocations: 4 kB / 0.6029 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.496, allocations: 0 / 0.6029 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.165e-05/0.4961, allocations: 4 kB / 0.6029 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.411e-05/0.4961, allocations: 29.7 kB / 0.603 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.4962, allocations: 0 / 0.603 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.4962, allocations: 0 / 0.603 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4962, allocations: 3.984 kB / 0.603 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.4963, allocations: 130.2 kB / 0.6031 GB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.4e-05/0.4963, allocations: 26.2 kB / 0.6031 GB, free: 3.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.148e-05/0.4964, allocations: 4.859 kB / 0.6031 GB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.4964, allocations: 0 / 0.6031 GB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.4964, allocations: 60.36 kB / 0.6032 GB, free: 3.281 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.4964, allocations: 0 / 0.6032 GB, free: 3.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001479/0.4966, allocations: 33.69 kB / 0.6032 GB, free: 3.242 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.4966, allocations: 77.11 kB / 0.6033 GB, free: 3.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.976e-05/0.4967, allocations: 85 kB / 0.6034 GB, free: 3.059 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.4967, allocations: 29.73 kB / 0.6034 GB, free: 3.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.4967, allocations: 84.14 kB / 0.6035 GB, free: 2.938 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.4968, allocations: 3.812 kB / 0.6035 GB, free: 2.938 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.4968, allocations: 0 / 0.6035 GB, free: 2.938 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.4969, allocations: 310.8 kB / 0.6038 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-06/0.4969, allocations: 0 / 0.6038 GB, free: 2.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-06/0.4969, allocations: 3.938 kB / 0.6038 GB, free: 2.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.107e-05/0.4969, allocations: 7.938 kB / 0.6038 GB, free: 2.613 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.497, allocations: 4.062 kB / 0.6038 GB, free: 2.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.891e-05/0.497, allocations: 37.64 kB / 0.6038 GB, free: 2.566 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.4971, allocations: 34.45 kB / 0.6039 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4971, allocations: 0 / 0.6039 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4971, allocations: 0 / 0.6039 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.001e-06/0.4971, allocations: 0 / 0.6039 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.4971, allocations: 0 / 0.6039 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.115e-05/0.4971, allocations: 0 / 0.6039 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.4971, allocations: 4 kB / 0.6039 GB, free: 2.523 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 8.586e-05/0.4972, allocations: 130.7 kB / 0.604 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.4972, allocations: 11.27 kB / 0.604 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.258e-05/0.4973, allocations: 11.69 kB / 0.604 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4973, allocations: 4 kB / 0.604 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4973, allocations: 0 / 0.604 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4973, allocations: 0 / 0.604 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.848e-05/0.4974, allocations: 122.2 kB / 0.6041 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4974, allocations: 0 / 0.6041 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.4974, allocations: 0 / 0.6041 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4974, allocations: 3.984 kB / 0.6041 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.4974, allocations: 4 kB / 0.6041 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.4974, allocations: 7.953 kB / 0.6042 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4974, allocations: 3.938 kB / 0.6042 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.302e-05/0.4975, allocations: 60.69 kB / 0.6042 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.4975, allocations: 77.11 kB / 0.6043 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.4976, allocations: 4 kB / 0.6043 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-06/0.4976, allocations: 0 / 0.6043 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.4976, allocations: 3.953 kB / 0.6043 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.4976, allocations: 8.016 kB / 0.6043 GB, free: 2.004 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.458e-05/0.4976, allocations: 75.28 kB / 0.6044 GB, free: 1.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4976, allocations: 0 / 0.6044 GB, free: 1.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000573/0.4982, allocations: 208.2 kB / 0.6046 GB, free: 1.746 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.0008817/0.4991, allocations: 413.8 kB / 0.605 GB, free: 1.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.717e-05/0.4992, allocations: 62.09 kB / 0.605 GB, free: 1.285 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4992, allocations: 3.938 kB / 0.605 GB, free: 1.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.279e-05/0.4992, allocations: 51.41 kB / 0.6051 GB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.748e-05/0.4993, allocations: 4 kB / 0.6051 GB, free: 1.215 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001296/0.4995, allocations: 51.44 kB / 0.6051 GB, free: 1.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.4997, allocations: 0.669 MB / 0.6058 GB, free: 460 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.35e-06/0.4997, allocations: 0 / 0.6058 GB, free: 460 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.061e-05/0.4998, allocations: 11.44 kB / 0.6058 GB, free: 448 kB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4998, allocations: 0 / 0.6058 GB, free: 448 kB / 394.7 MB Notification: Performance of Templates: time 0.007993/0.5078, allocations: 4.479 MB / 0.6102 GB, free: 11.98 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches