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.001544/0.001543, allocations: 111 kB / 17.09 MB, free: 5.957 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.001981/0.001981, allocations: 199.4 kB / 18.02 MB, free: 5.035 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.512/1.512, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2339/0.2339, allocations: 43.54 MB / 314.8 MB, free: 444 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.001645/0.001645, allocations: 69.55 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1346, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001941/0.1366, allocations: 475 kB / 0.489 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.1405, allocations: 2.325 MB / 0.4912 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.1406, allocations: 0 / 0.4912 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.1406, allocations: 0 / 0.4912 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.334e-06/0.1407, allocations: 0 / 0.4912 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.1437, allocations: 1.137 MB / 0.4924 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.961e-05/0.1438, allocations: 3.938 kB / 0.4924 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.1439, allocations: 0 / 0.4924 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.194e-05/0.1439, allocations: 11.98 kB / 0.4924 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.247e-05/0.1439, allocations: 0 / 0.4924 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.813e-06/0.1439, allocations: 0 / 0.4924 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.1458, allocations: 0.995 MB / 0.4933 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.609e-06/0.1458, allocations: 0 / 0.4933 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.1459, allocations: 0 / 0.4933 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000893/0.1467, allocations: 415.2 kB / 0.4937 GB, free: 6.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1468, allocations: 3.984 kB / 0.4937 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1468, allocations: 0 / 0.4937 GB, free: 6.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1468, allocations: 0 / 0.4937 GB, free: 6.449 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.0005285/0.1473, allocations: 428.5 kB / 0.4941 GB, free: 5.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.1474, allocations: 11.89 kB / 0.4942 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.1474, allocations: 4.938 kB / 0.4942 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1475, allocations: 164.4 kB / 0.4943 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1476, allocations: 8.312 kB / 0.4943 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1476, allocations: 384 / 0.4943 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1477, allocations: 34.02 kB / 0.4944 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1477, allocations: 0 / 0.4944 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1477, allocations: 4 kB / 0.4944 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1478, allocations: 0 / 0.4944 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.1478, allocations: 0 / 0.4944 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.1479, allocations: 149.7 kB / 0.4945 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.357e-05/0.148, allocations: 22.55 kB / 0.4945 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.148, allocations: 4.859 kB / 0.4945 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-06/0.148, allocations: 0 / 0.4945 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/0.1481, allocations: 68.2 kB / 0.4946 GB, free: 5.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.1481, allocations: 4 kB / 0.4946 GB, free: 5.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001927/0.1483, allocations: 59.39 kB / 0.4947 GB, free: 5.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.1484, allocations: 89.17 kB / 0.4947 GB, free: 5.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.069e-05/0.1484, allocations: 89.86 kB / 0.4948 GB, free: 5.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1484, allocations: 25.7 kB / 0.4949 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.1485, allocations: 80.14 kB / 0.4949 GB, free: 5.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.1485, allocations: 0 / 0.4949 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.1485, allocations: 17.72 kB / 0.495 GB, free: 4.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1487, allocations: 310.8 kB / 0.4952 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.1487, allocations: 3.938 kB / 0.4953 GB, free: 4.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.29e-05/0.1487, allocations: 4 kB / 0.4953 GB, free: 4.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.673e-05/0.1488, allocations: 64.25 kB / 0.4953 GB, free: 4.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1488, allocations: 0 / 0.4953 GB, free: 4.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.817e-05/0.1489, allocations: 63.41 kB / 0.4954 GB, free: 4.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.1489, allocations: 29.7 kB / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1489, allocations: 3.938 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1489, allocations: 4 kB / 0.4954 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-06/0.1489, allocations: 3.984 kB / 0.4954 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1489, allocations: 96 / 0.4954 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.149, allocations: 4 kB / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.149, allocations: 0 / 0.4954 GB, free: 4.457 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 8.89e-05/0.1491, allocations: 143.4 kB / 0.4956 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.1491, allocations: 0 / 0.4956 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.816e-05/0.1491, allocations: 11.05 kB / 0.4956 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1491, allocations: 0 / 0.4956 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1491, allocations: 0 / 0.4956 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.1492, allocations: 81.05 kB / 0.4956 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1492, allocations: 11.98 kB / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-06/0.1492, allocations: 4 kB / 0.4957 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.1492, allocations: 0 / 0.4957 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001294/0.1494, allocations: 194.1 kB / 0.4958 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001611/0.1495, allocations: 244.4 kB / 0.4961 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.811e-05/0.1496, allocations: 4 kB / 0.4961 GB, free: 3.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.087e-05/0.1496, allocations: 79.34 kB / 0.4962 GB, free: 3.613 MB / 382.1 MB Notification: Performance of Backend: time 3.41e-07/0.1496, allocations: 0 / 0.4962 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.1508, allocations: 406.8 kB / 0.4965 GB, free: 3.199 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004308/0.1513, allocations: 0.5832 MB / 0.4971 GB, free: 2.555 MB / 382.1 MB Notification: Performance of Templates: time 0.008568/0.1598, allocations: 4.303 MB / 0.5013 GB, free: 14.25 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