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.001505/0.001505, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001068/0.001068, allocations: 90.69 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2754/0.2754, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.896e-05, allocations: 7.984 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.154, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5119/0.666, allocations: 88.68 MB / 0.5594 GB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.6663, allocations: 65.59 kB / 0.5594 GB, free: 14.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04581/0.7121, allocations: 9.895 MB / 0.5691 GB, free: 6.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7122, allocations: 0 / 0.5691 GB, free: 6.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.7122, allocations: 0 / 0.5691 GB, free: 6.355 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.0007189/0.7129, allocations: 466.3 kB / 0.5695 GB, free: 5.855 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.713, allocations: 19.97 kB / 0.5696 GB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.713, allocations: 0 / 0.5696 GB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.7131, allocations: 167 kB / 0.5697 GB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.7132, allocations: 0 / 0.5697 GB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.7132, allocations: 0 / 0.5697 GB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.845e-05/0.7133, allocations: 33.64 kB / 0.5698 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.7133, allocations: 0 / 0.5698 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.7133, allocations: 0 / 0.5698 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.7133, allocations: 0 / 0.5698 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.7134, allocations: 3.938 kB / 0.5698 GB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.7135, allocations: 160.2 kB / 0.5699 GB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.867e-05/0.7136, allocations: 15.02 kB / 0.5699 GB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.7137, allocations: 8.953 kB / 0.5699 GB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-06/0.7137, allocations: 0 / 0.5699 GB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.481e-05/0.7138, allocations: 62.83 kB / 0.57 GB, free: 5.277 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.7138, allocations: 0 / 0.57 GB, free: 5.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001738/0.714, allocations: 67.39 kB / 0.5701 GB, free: 5.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.714, allocations: 77.11 kB / 0.5701 GB, free: 5.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.965e-05/0.7141, allocations: 88.98 kB / 0.5702 GB, free: 5.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.7141, allocations: 27.83 kB / 0.5702 GB, free: 4.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.7142, allocations: 150.6 kB / 0.5704 GB, free: 4.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.7142, allocations: 0 / 0.5704 GB, free: 4.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.7142, allocations: 4 kB / 0.5704 GB, free: 4.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7144, allocations: 310.8 kB / 0.5707 GB, free: 4.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.7144, allocations: 4.031 kB / 0.5707 GB, free: 4.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-06/0.7144, allocations: 0 / 0.5707 GB, free: 4.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.7145, allocations: 29.7 kB / 0.5707 GB, free: 4.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7145, allocations: 3.953 kB / 0.5707 GB, free: 4.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.909e-05/0.7146, allocations: 61.97 kB / 0.5708 GB, free: 4.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.7146, allocations: 41.12 kB / 0.5708 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7147, allocations: 0 / 0.5708 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7147, allocations: 0 / 0.5708 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.7147, allocations: 0 / 0.5708 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7147, allocations: 96 / 0.5708 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.7147, allocations: 4 kB / 0.5708 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.7148, allocations: 4 kB / 0.5708 GB, free: 4.352 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 () * 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 9.337e-05/0.7149, allocations: 126.7 kB / 0.571 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.7149, allocations: 7.641 kB / 0.571 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.654e-05/0.7149, allocations: 3.125 kB / 0.571 GB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7149, allocations: 4 kB / 0.571 GB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.7149, allocations: 3.984 kB / 0.571 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7149, allocations: 0 / 0.571 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.7151, allocations: 145.6 kB / 0.5711 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.7151, allocations: 4 kB / 0.5711 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-06/0.7151, allocations: 3.953 kB / 0.5711 GB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.7151, allocations: 7.938 kB / 0.5711 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.7151, allocations: 0 / 0.5711 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7151, allocations: 0 / 0.5711 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7152, allocations: 0 / 0.5711 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.7153, allocations: 98.45 kB / 0.5712 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.7154, allocations: 81.14 kB / 0.5713 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.7154, allocations: 7.953 kB / 0.5713 GB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.7154, allocations: 0 / 0.5713 GB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.7154, allocations: 7.969 kB / 0.5713 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.7154, allocations: 4 kB / 0.5713 GB, free: 3.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.754e-05/0.7155, allocations: 75.28 kB / 0.5714 GB, free: 3.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7155, allocations: 0 / 0.5714 GB, free: 3.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008861/0.7164, allocations: 172.4 kB / 0.5716 GB, free: 3.527 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) * 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.001175/0.7176, allocations: 405.2 kB / 0.5719 GB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.7178, allocations: 58.53 kB / 0.572 GB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7178, allocations: 4 kB / 0.572 GB, free: 3.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/0.7178, allocations: 59.41 kB / 0.5721 GB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.718, allocations: 6.578 kB / 0.5721 GB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001844/0.7182, allocations: 70.75 kB / 0.5721 GB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.7184, allocations: 0.6731 MB / 0.5728 GB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.7185, allocations: 7.438 kB / 0.5728 GB, free: 2.195 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.7185, allocations: 0 / 0.5728 GB, free: 2.195 MB / 378.7 MB Notification: Performance of Templates: time 0.01047/0.7289, allocations: 3.835 MB / 0.5765 GB, free: 14.38 MB / 394.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/jenkins1/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