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.001477/0.001477, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.002334/0.002334, allocations: 177.3 kB / 15.95 MB, free: 216 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.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3667/0.3667, allocations: 40 MB / 310.4 MB, free: 9.668 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.001094/0.001094, allocations: 16 kB / 378.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1317, allocations: 57.96 MB / 436.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0005611/0.1323, allocations: 200.5 kB / 437 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.1353, allocations: 2.16 MB / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.1353, allocations: 0 / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.248e-06/0.1354, allocations: 0 / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.531e-06/0.1354, allocations: 0 / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.1376, allocations: 0.9036 MB / 440 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.13e-05/0.1377, allocations: 4 kB / 440 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.1377, allocations: 0 / 440 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.1377, allocations: 0 / 440 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.74e-05/0.1378, allocations: 3.984 kB / 440 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.1378, allocations: 0 / 440 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.1391, allocations: 0.7335 MB / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.1391, allocations: 0 / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.1392, allocations: 25.7 kB / 440.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.1397, allocations: 263.5 kB / 441 MB, free: 14.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1398, allocations: 0 / 441 MB, free: 14.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1398, allocations: 0 / 441 MB, free: 14.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1398, allocations: 0 / 441 MB, free: 14.01 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.0004814/0.1403, allocations: 417 kB / 441.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1403, allocations: 12.03 kB / 441.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.1404, allocations: 3.953 kB / 441.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1405, allocations: 171 kB / 441.6 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1405, allocations: 0 / 441.6 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1405, allocations: 3.984 kB / 441.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.719e-05/0.1406, allocations: 29.7 kB / 441.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1406, allocations: 0 / 441.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1406, allocations: 0 / 441.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1407, allocations: 0 / 441.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/0.1407, allocations: 7.953 kB / 441.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.1408, allocations: 146 kB / 441.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.814e-05/0.1409, allocations: 26.5 kB / 441.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.1409, allocations: 3.938 kB / 441.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.141, allocations: 60.36 kB / 441.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.141, allocations: 0 / 441.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001771/0.1411, allocations: 67.31 kB / 442 MB, free: 12.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.1412, allocations: 77.11 kB / 442 MB, free: 12.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.834e-05/0.1413, allocations: 93.97 kB / 442.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.1413, allocations: 29.7 kB / 442.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1413, allocations: 80.14 kB / 442.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.1413, allocations: 3.938 kB / 442.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.1414, allocations: 0 / 442.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1415, allocations: 318.8 kB / 442.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.1415, allocations: 3.938 kB / 442.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.1415, allocations: 3.938 kB / 442.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.1415, allocations: 33.7 kB / 442.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1415, allocations: 4.062 kB / 442.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.586e-05/0.1416, allocations: 59.39 kB / 442.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.1417, allocations: 33.7 kB / 442.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1417, allocations: 0 / 442.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1417, allocations: 4 kB / 442.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1417, allocations: 0 / 442.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1417, allocations: 0 / 442.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.1418, allocations: 0 / 442.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1418, allocations: 4 kB / 442.7 MB, free: 12.09 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 8.294e-05/0.1419, allocations: 139.5 kB / 442.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-06/0.1419, allocations: 0 / 442.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.317e-05/0.1419, allocations: 7.109 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1419, allocations: 4 kB / 442.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1419, allocations: 0 / 442.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1419, allocations: 0 / 442.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.627e-05/0.142, allocations: 157.6 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.142, allocations: 0 / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.142, allocations: 0 / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.142, allocations: 0 / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.142, allocations: 8 kB / 443 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1421, allocations: 3.984 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1421, allocations: 0 / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1422, allocations: 94.73 kB / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.1422, allocations: 77.11 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1422, allocations: 3.984 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.089e-05/0.1423, allocations: 0 / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.1423, allocations: 0 / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.1423, allocations: 8.031 kB / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.782e-05/0.1423, allocations: 75.28 kB / 443.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1423, allocations: 0 / 443.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004692/0.1428, allocations: 140 kB / 443.4 MB, free: 11.28 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.0006767/0.1435, allocations: 362 kB / 443.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.948e-05/0.1436, allocations: 67.33 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1436, allocations: 0 / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.1437, allocations: 55.41 kB / 443.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.905e-05/0.1437, allocations: 11.39 kB / 443.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.1439, allocations: 74.89 kB / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.1441, allocations: 0.677 MB / 444.6 MB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.121e-06/0.1441, allocations: 0 / 444.6 MB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.076e-05/0.1442, allocations: 7.438 kB / 444.6 MB, free: 9.961 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1442, allocations: 0 / 444.6 MB, free: 9.961 MB / 382.1 MB Notification: Performance of Templates: time 0.007042/0.1512, allocations: 4.083 MB / 448.7 MB, free: 5.871 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: