Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.001109, allocations: 175.4 kB / 16.72 MB, free: 5.059 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.361/1.361, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.000729/0.0007291, allocations: 78.42 kB / 271.2 MB, free: 8.258 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.2949/0.2949, allocations: 43.57 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 12 kB / 432 MB, free: 5.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 58.84 MB / 490.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0005146/0.1016, allocations: 204.5 kB / 491 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.1043, allocations: 2.179 MB / 493.2 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.1044, allocations: 3.938 kB / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.1044, allocations: 0 / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.544e-06/0.1044, allocations: 3.938 kB / 493.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.1065, allocations: 0.8884 MB / 494.1 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.486e-05/0.1065, allocations: 11.97 kB / 494.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.1066, allocations: 0 / 494.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.47e-05/0.1066, allocations: 0 / 494.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.728e-05/0.1066, allocations: 0 / 494.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-06/0.1066, allocations: 3.938 kB / 494.1 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.108, allocations: 0.8897 MB / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.108, allocations: 3.984 kB / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.1081, allocations: 33.64 kB / 495 MB, free: 6.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.1084, allocations: 259.5 kB / 495.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1084, allocations: 0 / 495.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.536e-06/0.1084, allocations: 3.984 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1084, allocations: 0 / 495.3 MB, free: 6.172 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.0004213/0.1089, allocations: 421.2 kB / 495.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1089, allocations: 8.031 kB / 495.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.1089, allocations: 0.9375 kB / 495.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/0.109, allocations: 164.4 kB / 495.9 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1091, allocations: 12.31 kB / 495.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.1091, allocations: 384 / 495.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.111e-05/0.1092, allocations: 38 kB / 495.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1092, allocations: 4 kB / 495.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1092, allocations: 3.938 kB / 495.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1092, allocations: 0 / 495.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.507e-05/0.1092, allocations: 0 / 495.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.1093, allocations: 141.7 kB / 496.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.857e-05/0.1094, allocations: 26.61 kB / 496.1 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.1094, allocations: 8.844 kB / 496.1 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.1094, allocations: 0 / 496.1 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.1095, allocations: 68.27 kB / 496.2 MB, free: 5.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1095, allocations: 0 / 496.2 MB, free: 5.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001541/0.1096, allocations: 67.25 kB / 496.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.1097, allocations: 77.11 kB / 496.3 MB, free: 4.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.609e-05/0.1097, allocations: 93.97 kB / 496.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.1097, allocations: 29.7 kB / 496.4 MB, free: 4.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.1098, allocations: 80.14 kB / 496.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.1098, allocations: 0 / 496.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-06/0.1098, allocations: 0 / 496.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.1099, allocations: 314.8 kB / 496.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-06/0.1099, allocations: 4 kB / 496.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-06/0.1099, allocations: 0 / 496.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.619e-05/0.11, allocations: 68.27 kB / 496.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.11, allocations: 0 / 496.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.876e-05/0.11, allocations: 63.39 kB / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.1101, allocations: 37.64 kB / 497 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1101, allocations: 0 / 497 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1101, allocations: 0 / 497 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.1101, allocations: 0 / 497 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1101, allocations: 0 / 497 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.1102, allocations: 4 kB / 497 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1102, allocations: 3.938 kB / 497 MB, free: 4.203 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 7.074e-05/0.1102, allocations: 135.9 kB / 497.1 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.1103, allocations: 11.92 kB / 497.1 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-06/0.1103, allocations: 7.109 kB / 497.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1103, allocations: 0 / 497.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1103, allocations: 0 / 497.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1103, allocations: 0 / 497.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.346e-05/0.1104, allocations: 141.7 kB / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1104, allocations: 0 / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1104, allocations: 4 kB / 497.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1104, allocations: 7.875 kB / 497.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.1104, allocations: 7.984 kB / 497.3 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1104, allocations: 3.938 kB / 497.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1104, allocations: 0 / 497.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/0.1105, allocations: 86.84 kB / 497.4 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.1106, allocations: 85.03 kB / 497.5 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.1106, allocations: 3.938 kB / 497.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-06/0.1106, allocations: 0 / 497.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.1106, allocations: 12.03 kB / 497.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.1106, allocations: 4 kB / 497.5 MB, free: 3.594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.798e-05/0.1106, allocations: 75.28 kB / 497.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1106, allocations: 0 / 497.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.111, allocations: 140 kB / 497.7 MB, free: 3.383 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) * 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.0006452/0.1117, allocations: 358.7 kB / 498 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.302e-05/0.1118, allocations: 67.33 kB / 498.1 MB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1118, allocations: 0 / 498.1 MB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.1118, allocations: 55.41 kB / 498.2 MB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.1119, allocations: 4 kB / 498.2 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.1121, allocations: 100.6 kB / 498.3 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.1124, allocations: 0.677 MB / 498.9 MB, free: 2.047 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-06/0.1124, allocations: 11.38 kB / 499 MB, free: 2.039 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1124, allocations: 0 / 499 MB, free: 2.039 MB / 378.7 MB Notification: Performance of Templates: time 0.166/0.2784, allocations: 3.609 MB / 0.4908 GB, free: 40.82 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches