Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.718/1.718, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3226/0.3226, allocations: 39.94 MB / 309.7 MB, free: 9.285 MB / 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 66.83 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1384, allocations: 56.88 MB / 434.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001977/0.1404, allocations: 482.6 kB / 434.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.1442, allocations: 2.325 MB / 437.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.1442, allocations: 0 / 437.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.1443, allocations: 0 / 437.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.1443, allocations: 0 / 437.3 MB, free: 0.8867 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/ComplexMath.mo:4:3-189:23:writable] Warning: Pure function 'ModelicaTest.ComplexMath.ComplexFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.147, allocations: 1.121 MB / 438.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.1471, allocations: 11.94 kB / 438.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.1471, allocations: 3.938 kB / 438.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.62e-05/0.1471, allocations: 3.984 kB / 438.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.272e-05/0.1472, allocations: 4 kB / 438.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.751e-06/0.1472, allocations: 0 / 438.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.1487, allocations: 0.9561 MB / 439.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.1487, allocations: 4 kB / 439.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.1487, allocations: 7.969 kB / 439.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006028/0.1493, allocations: 419.3 kB / 439.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.1494, allocations: 0 / 439.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1494, allocations: 0 / 439.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1494, allocations: 0 / 439.8 MB, free: 14.36 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.0005274/0.1499, allocations: 428.8 kB / 440.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.15, allocations: 15.89 kB / 440.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.15, allocations: 4.938 kB / 440.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1502, allocations: 164.4 kB / 440.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1502, allocations: 8.312 kB / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.1502, allocations: 384 / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.1503, allocations: 30.02 kB / 440.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1503, allocations: 0 / 440.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1503, allocations: 4 kB / 440.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1503, allocations: 0 / 440.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.1504, allocations: 3.938 kB / 440.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.1505, allocations: 154 kB / 440.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/0.1506, allocations: 18.61 kB / 440.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.1506, allocations: 4.859 kB / 440.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.1506, allocations: 0 / 440.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/0.1507, allocations: 64.27 kB / 440.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.1507, allocations: 0 / 440.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002047/0.1509, allocations: 79.23 kB / 440.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.151, allocations: 77.11 kB / 440.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.074e-05/0.151, allocations: 93.8 kB / 440.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.151, allocations: 25.7 kB / 440.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.1511, allocations: 80.14 kB / 441 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.1511, allocations: 7.922 kB / 441 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.1511, allocations: 13.72 kB / 441 MB, free: 12.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1513, allocations: 314.8 kB / 441.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.1513, allocations: 4.125 kB / 441.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-06/0.1513, allocations: 0 / 441.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.66e-05/0.1513, allocations: 64.25 kB / 441.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1514, allocations: 0 / 441.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.937e-05/0.1514, allocations: 63.34 kB / 441.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.1515, allocations: 33.64 kB / 441.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1515, allocations: 4 kB / 441.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1515, allocations: 0 / 441.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.1515, allocations: 96 / 441.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1515, allocations: 4 kB / 441.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.1516, allocations: 3.984 kB / 441.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1516, allocations: 0 / 441.5 MB, free: 12.36 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 9.807e-05/0.1517, allocations: 139.5 kB / 441.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.1517, allocations: 3.938 kB / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.294e-05/0.1517, allocations: 3.125 kB / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1517, allocations: 0 / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1517, allocations: 0 / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1517, allocations: 0 / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.1518, allocations: 153.7 kB / 441.8 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1519, allocations: 0 / 441.8 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/0.1519, allocations: 0 / 441.8 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1519, allocations: 7.875 kB / 441.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1519, allocations: 0 / 441.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1519, allocations: 0 / 441.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1519, allocations: 4 kB / 441.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.29e-05/0.152, allocations: 98.77 kB / 441.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.152, allocations: 77.11 kB / 442 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1521, allocations: 7.938 kB / 442 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.1521, allocations: 3.984 kB / 442 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.1521, allocations: 0 / 442 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.1521, allocations: 3.938 kB / 442 MB, free: 11.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.929e-05/0.1521, allocations: 79.28 kB / 442.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1522, allocations: 0 / 442.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004663/0.1526, allocations: 140 kB / 442.2 MB, free: 11.54 MB / 382.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006644/0.1533, allocations: 363 kB / 442.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.979e-05/0.1534, allocations: 67.39 kB / 442.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1534, allocations: 4.062 kB / 442.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.244e-05/0.1535, allocations: 59.34 kB / 442.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1536, allocations: 3.281 kB / 442.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.1538, allocations: 80.92 kB / 442.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1541, allocations: 0.6729 MB / 443.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.601e-06/0.1541, allocations: 0 / 443.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.1541, allocations: 11.44 kB / 443.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1541, allocations: 0 / 443.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of Templates: time 0.00796/0.1621, allocations: 4.295 MB / 447.8 MB, free: 5.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1)