Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestComplexOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001443/0.001443, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.3635/0.3635, allocations: 40 MB / 310.4 MB, free: 9.961 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.0005339/0.000534, allocations: 23.98 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1274, allocations: 57.95 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0005421/0.128, allocations: 206.1 kB / 437 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.131, allocations: 2.167 MB / 439.1 MB, free: 204 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.131, allocations: 3.938 kB / 439.2 MB, free: 200 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.101e-05/0.1311, allocations: 0 / 439.2 MB, free: 200 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.1311, allocations: 4 kB / 439.2 MB, free: 196 kB / 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.002433/0.1335, allocations: 0.9 MB / 440.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.114e-05/0.1336, allocations: 4 kB / 440.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.283e-05/0.1336, allocations: 4 kB / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/0.1337, allocations: 0 / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.569e-05/0.1337, allocations: 0 / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.1337, allocations: 3.938 kB / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.1352, allocations: 0.9014 MB / 441 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.735e-06/0.1352, allocations: 0 / 441 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.1353, allocations: 29.7 kB / 441 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.1357, allocations: 251.5 kB / 441.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1357, allocations: 0 / 441.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1357, allocations: 8 kB / 441.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1357, allocations: 0 / 441.3 MB, free: 14.09 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.0004712/0.1362, allocations: 421 kB / 441.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1363, allocations: 12.03 kB / 441.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.1363, allocations: 11.95 kB / 441.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1364, allocations: 159.1 kB / 441.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1364, allocations: 0 / 441.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.1364, allocations: 0 / 441.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.62e-05/0.1365, allocations: 37.64 kB / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1366, allocations: 0 / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1366, allocations: 0 / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1366, allocations: 0 / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.892e-05/0.1366, allocations: 3.953 kB / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.1368, allocations: 150 kB / 442 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.716e-05/0.1368, allocations: 18.58 kB / 442 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.1368, allocations: 4.859 kB / 442 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.1369, allocations: 8.094 kB / 442.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.175e-05/0.1369, allocations: 56.27 kB / 442.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1369, allocations: 3.938 kB / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002161/0.1372, allocations: 67.3 kB / 442.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1372, allocations: 77.11 kB / 442.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.342e-05/0.1373, allocations: 93.86 kB / 442.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1373, allocations: 25.7 kB / 442.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.1373, allocations: 80.14 kB / 442.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.1373, allocations: 8.062 kB / 442.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.1374, allocations: 4 kB / 442.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1375, allocations: 314.8 kB / 442.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.1375, allocations: 0 / 442.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/0.1375, allocations: 0 / 442.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.523e-05/0.1376, allocations: 33.69 kB / 442.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1376, allocations: 0 / 442.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.755e-05/0.1376, allocations: 63.28 kB / 442.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.1377, allocations: 41.8 kB / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1377, allocations: 0 / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1377, allocations: 0 / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.1377, allocations: 0 / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1377, allocations: 3.984 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.1378, allocations: 0 / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1378, allocations: 7.938 kB / 442.9 MB, free: 12.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.687e-05/0.1379, allocations: 135.5 kB / 443.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.1379, allocations: 0 / 443.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.348e-05/0.1379, allocations: 11.12 kB / 443.1 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1379, allocations: 0 / 443.1 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1379, allocations: 0 / 443.1 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1379, allocations: 0 / 443.1 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.1381, allocations: 149.6 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1381, allocations: 0 / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1381, allocations: 0 / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1381, allocations: 4 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1381, allocations: 0 / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1381, allocations: 0 / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1381, allocations: 0 / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.1382, allocations: 102.7 kB / 443.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.1383, allocations: 77.11 kB / 443.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1383, allocations: 0 / 443.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.297e-05/0.1383, allocations: 8 kB / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.1383, allocations: 4 kB / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1383, allocations: 0 / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.883e-05/0.1384, allocations: 75.28 kB / 443.5 MB, free: 11.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1384, allocations: 4.031 kB / 443.5 MB, free: 11.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004396/0.1388, allocations: 140 kB / 443.6 MB, free: 11.35 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 (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.0006676/0.1395, allocations: 374.7 kB / 444 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.356e-05/0.1396, allocations: 59.34 kB / 444 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1396, allocations: 7.938 kB / 444 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.132e-05/0.1396, allocations: 55.41 kB / 444.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.1398, allocations: 7.953 kB / 444.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001668/0.1399, allocations: 74.75 kB / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.1402, allocations: 0.6731 MB / 444.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.05e-06/0.1402, allocations: 4.062 kB / 444.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-06/0.1402, allocations: 11.44 kB / 444.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1402, allocations: 0 / 444.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Templates: time 0.006993/0.1472, allocations: 4.076 MB / 448.9 MB, free: 5.934 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) Environment - environmentSimulation: