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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 111.2 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 199.3 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2015/0.2015, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 73.45 kB / 442.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1119, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.002074/0.114, allocations: 482.8 kB / 0.489 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003404/0.1174, allocations: 2.325 MB / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.1175, allocations: 0 / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.1176, allocations: 0 / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.1176, allocations: 0 / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.1202, allocations: 1.129 MB / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.35e-05/0.1203, allocations: 3.984 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.1204, allocations: 7.984 kB / 0.4924 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.1204, allocations: 0 / 0.4924 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.72e-05/0.1204, allocations: 0 / 0.4924 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-06/0.1204, allocations: 0 / 0.4924 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.1219, allocations: 0.9873 MB / 0.4933 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.122, allocations: 7.984 kB / 0.4933 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.122, allocations: 3.938 kB / 0.4933 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006318/0.1226, allocations: 415.4 kB / 0.4937 GB, free: 6.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1226, allocations: 0 / 0.4937 GB, free: 6.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1227, allocations: 0 / 0.4937 GB, free: 6.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1227, allocations: 0 / 0.4937 GB, free: 6.473 MB / 382.1 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.0004655/0.1231, allocations: 436.6 kB / 0.4941 GB, free: 5.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1232, allocations: 11.89 kB / 0.4942 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.1232, allocations: 8.938 kB / 0.4942 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.47e-05/0.1233, allocations: 160.4 kB / 0.4943 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1233, allocations: 384 / 0.4943 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.1233, allocations: 384 / 0.4943 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.381e-05/0.1234, allocations: 41.94 kB / 0.4944 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1234, allocations: 0 / 0.4944 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.1234, allocations: 0 / 0.4944 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1234, allocations: 0 / 0.4944 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.569e-05/0.1235, allocations: 0 / 0.4944 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.1236, allocations: 157.6 kB / 0.4945 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.027e-05/0.1236, allocations: 14.58 kB / 0.4945 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.1237, allocations: 4.859 kB / 0.4945 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.1237, allocations: 4.094 kB / 0.4945 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.1237, allocations: 68.12 kB / 0.4946 GB, free: 5.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.304e-06/0.1237, allocations: 0 / 0.4946 GB, free: 5.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001772/0.1239, allocations: 75.27 kB / 0.4947 GB, free: 5.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.124, allocations: 81.23 kB / 0.4947 GB, free: 5.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.501e-05/0.124, allocations: 89.86 kB / 0.4948 GB, free: 5.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.124, allocations: 25.7 kB / 0.4949 GB, free: 5.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.1241, allocations: 80.14 kB / 0.4949 GB, free: 5.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.1241, allocations: 0 / 0.4949 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.1241, allocations: 17.7 kB / 0.4949 GB, free: 4.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1242, allocations: 314.8 kB / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/0.1242, allocations: 0 / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-06/0.1242, allocations: 8 kB / 0.4953 GB, free: 4.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.499e-05/0.1243, allocations: 64.2 kB / 0.4953 GB, free: 4.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1243, allocations: 0 / 0.4953 GB, free: 4.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.489e-05/0.1244, allocations: 63.39 kB / 0.4954 GB, free: 4.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.1244, allocations: 37.7 kB / 0.4954 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1244, allocations: 3.938 kB / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1244, allocations: 0 / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1245, allocations: 0 / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1245, allocations: 96 / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.1245, allocations: 4 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1245, allocations: 4 kB / 0.4954 GB, free: 4.465 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.318e-05/0.1246, allocations: 135.5 kB / 0.4956 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-06/0.1246, allocations: 0 / 0.4956 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.311e-05/0.1246, allocations: 11.05 kB / 0.4956 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1246, allocations: 4 kB / 0.4956 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1246, allocations: 0 / 0.4956 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.1247, allocations: 77.11 kB / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.1247, allocations: 3.938 kB / 0.4956 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-06/0.1247, allocations: 4 kB / 0.4957 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-06/0.1247, allocations: 0 / 0.4957 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001115/0.1248, allocations: 198.1 kB / 0.4958 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001268/0.1249, allocations: 236.5 kB / 0.4961 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.52e-05/0.125, allocations: 7.938 kB / 0.4961 GB, free: 3.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.913e-05/0.125, allocations: 79.34 kB / 0.4961 GB, free: 3.637 MB / 382.1 MB Notification: Performance of Backend: time 2.2e-07/0.125, allocations: 0 / 0.4961 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009022/0.1259, allocations: 404.2 kB / 0.4965 GB, free: 3.223 MB / 382.1 MB Notification: Performance of SimCode: time 0.000329/0.1263, allocations: 0.5833 MB / 0.4971 GB, free: 2.578 MB / 382.1 MB Notification: Performance of Templates: time 0.007086/0.1334, allocations: 4.303 MB / 0.5013 GB, free: 14.27 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches