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.00147/0.001471, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 80.92 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3287/0.3287, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.475e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4055, allocations: 58.84 MB / 477.1 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.17/0.5756, allocations: 88.02 MB / 0.5518 GB, free: 11.29 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.5759, allocations: 67.95 kB / 0.5519 GB, free: 11.23 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04724/0.6232, allocations: 9.729 MB / 0.5614 GB, free: 1.492 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6233, allocations: 8 kB / 0.5614 GB, free: 1.484 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.6233, allocations: 0 / 0.5614 GB, free: 1.484 MB / 395.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.0007188/0.624, allocations: 475.8 kB / 0.5619 GB, free: 0.9688 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.6241, allocations: 8.031 kB / 0.5619 GB, free: 0.9609 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.6241, allocations: 0 / 0.5619 GB, free: 0.9609 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.6242, allocations: 163 kB / 0.562 GB, free: 0.7617 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.6243, allocations: 0 / 0.562 GB, free: 0.7617 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.6243, allocations: 4 kB / 0.562 GB, free: 0.7578 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.711e-05/0.6243, allocations: 3.938 kB / 0.562 GB, free: 0.7539 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.682e-05/0.6244, allocations: 29.7 kB / 0.5621 GB, free: 0.7188 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.6244, allocations: 0 / 0.5621 GB, free: 0.7188 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.6244, allocations: 4 kB / 0.5621 GB, free: 0.7148 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.6245, allocations: 0 / 0.5621 GB, free: 0.7148 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.6246, allocations: 130.2 kB / 0.5622 GB, free: 0.5508 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.175e-05/0.6247, allocations: 18.52 kB / 0.5622 GB, free: 0.5234 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.6247, allocations: 12.95 kB / 0.5622 GB, free: 0.5078 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.6247, allocations: 0 / 0.5622 GB, free: 0.5078 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.6248, allocations: 60.7 kB / 0.5623 GB, free: 444 kB / 395.1 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.6248, allocations: 3.938 kB / 0.5623 GB, free: 440 kB / 395.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001816/0.625, allocations: 29.7 kB / 0.5623 GB, free: 404 kB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.625, allocations: 85.09 kB / 0.5624 GB, free: 300 kB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.872e-05/0.6251, allocations: 85 kB / 0.5625 GB, free: 208 kB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.6251, allocations: 25.7 kB / 0.5625 GB, free: 176 kB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.6252, allocations: 150.6 kB / 0.5626 GB, free: 24 kB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.6252, allocations: 4.031 kB / 0.5627 GB, free: 20 kB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.6252, allocations: 0 / 0.5627 GB, free: 20 kB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6254, allocations: 314.8 kB / 0.563 GB, free: 15.7 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.6254, allocations: 4 kB / 0.563 GB, free: 15.7 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.6255, allocations: 0 / 0.563 GB, free: 15.7 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.6255, allocations: 0 / 0.563 GB, free: 15.7 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6255, allocations: 0 / 0.563 GB, free: 15.7 MB / 411.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001017/0.6256, allocations: 41.59 kB / 0.563 GB, free: 15.65 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.6257, allocations: 33.69 kB / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6257, allocations: 4.094 kB / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6257, allocations: 0 / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.6257, allocations: 0 / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6257, allocations: 7.938 kB / 0.563 GB, free: 15.6 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.6258, allocations: 0 / 0.563 GB, free: 15.6 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.6258, allocations: 0 / 0.563 GB, free: 15.6 MB / 411.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 () * 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.628e-05/0.6259, allocations: 126.7 kB / 0.5632 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.6259, allocations: 7.953 kB / 0.5632 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.6259, allocations: 3.75 kB / 0.5632 GB, free: 15.45 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.626, allocations: 4 kB / 0.5632 GB, free: 15.45 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.626, allocations: 0 / 0.5632 GB, free: 15.45 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.626, allocations: 3.984 kB / 0.5632 GB, free: 15.45 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.6261, allocations: 126.2 kB / 0.5633 GB, free: 15.29 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6261, allocations: 0 / 0.5633 GB, free: 15.29 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.6261, allocations: 4 kB / 0.5633 GB, free: 15.28 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6261, allocations: 3.984 kB / 0.5633 GB, free: 15.28 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.6262, allocations: 0 / 0.5633 GB, free: 15.28 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6262, allocations: 7.891 kB / 0.5633 GB, free: 15.27 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6262, allocations: 0 / 0.5633 GB, free: 15.27 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.6263, allocations: 69.06 kB / 0.5634 GB, free: 15.18 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.6264, allocations: 77.11 kB / 0.5635 GB, free: 15.09 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.6264, allocations: 4 kB / 0.5635 GB, free: 15.09 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.222e-05/0.6264, allocations: 0 / 0.5635 GB, free: 15.09 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.6265, allocations: 7.953 kB / 0.5635 GB, free: 15.08 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.6265, allocations: 4 kB / 0.5635 GB, free: 15.07 MB / 411.1 MB Notification: Performance of sorting global known variables: time 3.911e-05/0.6265, allocations: 79.28 kB / 0.5635 GB, free: 15 MB / 411.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6265, allocations: 32 / 0.5635 GB, free: 15 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0009765/0.6275, allocations: 179.8 kB / 0.5637 GB, free: 14.82 MB / 411.1 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.001235/0.6288, allocations: 410.7 kB / 0.5641 GB, free: 14.41 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.6289, allocations: 59.41 kB / 0.5642 GB, free: 14.34 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6289, allocations: 0 / 0.5642 GB, free: 14.34 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.629, allocations: 55.41 kB / 0.5642 GB, free: 14.28 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.6291, allocations: 3.984 kB / 0.5642 GB, free: 14.27 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/0.6293, allocations: 69.77 kB / 0.5643 GB, free: 14.18 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.6296, allocations: 0.6768 MB / 0.565 GB, free: 13.47 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.6297, allocations: 7.438 kB / 0.565 GB, free: 13.46 MB / 411.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6297, allocations: 4.125 kB / 0.565 GB, free: 13.46 MB / 411.1 MB Notification: Performance of Templates: time 0.01113/0.6408, allocations: 3.915 MB / 0.5688 GB, free: 9.539 MB / 411.1 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