Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009927/0.000993, allocations: 96.94 kB / 17.08 MB, free: 5.992 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.00117/0.00117, allocations: 195.3 kB / 18.01 MB, free: 5.078 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.45/1.45, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2022/0.2022, allocations: 43.53 MB / 314.8 MB, free: 464 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.001525/0.001525, allocations: 59.91 kB / 442.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1111, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001969/0.1131, allocations: 486.9 kB / 0.489 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003558/0.1167, allocations: 2.321 MB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.1167, allocations: 0 / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.1167, allocations: 0 / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.785e-06/0.1168, allocations: 0 / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.1197, allocations: 1.129 MB / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.1198, allocations: 7.938 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.1198, allocations: 0 / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.1198, allocations: 0 / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.438e-05/0.1199, allocations: 4 kB / 0.4924 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.1199, allocations: 0 / 0.4924 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.1216, allocations: 0.9912 MB / 0.4933 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.1216, allocations: 0 / 0.4933 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.1216, allocations: 4 kB / 0.4933 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.1223, allocations: 419.3 kB / 0.4937 GB, free: 6.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1223, allocations: 4 kB / 0.4937 GB, free: 6.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1223, allocations: 0 / 0.4937 GB, free: 6.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1224, 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.0005045/0.1229, allocations: 433.1 kB / 0.4941 GB, free: 5.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1229, allocations: 15.89 kB / 0.4942 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.1229, allocations: 0.9375 kB / 0.4942 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.797e-05/0.123, allocations: 160.4 kB / 0.4943 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.1231, allocations: 384 / 0.4943 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1231, allocations: 4.375 kB / 0.4943 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.189e-05/0.1232, allocations: 34 kB / 0.4943 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1232, allocations: 0 / 0.4943 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1232, allocations: 0 / 0.4943 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1232, allocations: 0 / 0.4943 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.1232, allocations: 7.938 kB / 0.4944 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.1234, allocations: 153.6 kB / 0.4945 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.88e-05/0.1235, allocations: 18.61 kB / 0.4945 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.1235, allocations: 4.859 kB / 0.4945 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.1235, allocations: 3.984 kB / 0.4945 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.1236, allocations: 60.2 kB / 0.4946 GB, free: 5.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1236, allocations: 0 / 0.4946 GB, free: 5.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001761/0.1237, allocations: 71.41 kB / 0.4947 GB, free: 5.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1238, allocations: 81.05 kB / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.83e-05/0.1238, allocations: 93.86 kB / 0.4948 GB, free: 5.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.1239, allocations: 25.7 kB / 0.4948 GB, free: 5.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.1239, allocations: 84.12 kB / 0.4949 GB, free: 5.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.124, allocations: 0 / 0.4949 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.124, allocations: 13.72 kB / 0.4949 GB, free: 5.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1241, allocations: 314.8 kB / 0.4952 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.1241, allocations: 4.125 kB / 0.4952 GB, free: 4.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-06/0.1241, allocations: 3.938 kB / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.1242, allocations: 60.27 kB / 0.4953 GB, free: 4.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1242, allocations: 0 / 0.4953 GB, free: 4.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.322e-05/0.1243, allocations: 67.33 kB / 0.4954 GB, free: 4.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.1243, allocations: 33.7 kB / 0.4954 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1243, allocations: 3.938 kB / 0.4954 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1244, allocations: 0 / 0.4954 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/0.1244, allocations: 8.094 kB / 0.4954 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1244, allocations: 0 / 0.4954 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.1244, allocations: 0 / 0.4954 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1244, allocations: 0 / 0.4954 GB, free: 4.477 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.292e-05/0.1245, allocations: 143.5 kB / 0.4955 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.1245, allocations: 0 / 0.4955 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.326e-05/0.1245, allocations: 7.062 kB / 0.4956 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1245, allocations: 0 / 0.4956 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1245, allocations: 0 / 0.4956 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.1246, allocations: 81.11 kB / 0.4956 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.1246, allocations: 8 kB / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.016e-05/0.1246, allocations: 0 / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.1246, allocations: 0 / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001216/0.1248, allocations: 198 kB / 0.4958 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000135/0.1249, allocations: 244.5 kB / 0.4961 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.018e-05/0.1249, allocations: 8.062 kB / 0.4961 GB, free: 3.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.798e-05/0.125, allocations: 75.28 kB / 0.4961 GB, free: 3.641 MB / 382.1 MB Notification: Performance of Backend: time 3.7e-07/0.125, allocations: 0 / 0.4961 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009384/0.1259, allocations: 407.3 kB / 0.4965 GB, free: 3.23 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003742/0.1263, allocations: 0.5833 MB / 0.4971 GB, free: 2.586 MB / 382.1 MB Notification: Performance of Templates: time 0.007687/0.134, allocations: 4.303 MB / 0.5013 GB, free: 14.28 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches