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.0009028/0.0009029, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0009614/0.0009621, 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.72/1.72, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.4438/0.4438, allocations: 40 MB / 310.4 MB, free: 9.918 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.0005828/0.0005829, allocations: 12 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1173, allocations: 57.95 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0006272/0.118, allocations: 206.1 kB / 437 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.1211, allocations: 2.178 MB / 439.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.1211, allocations: 0 / 439.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.004e-05/0.1212, allocations: 0 / 439.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.052e-06/0.1212, allocations: 4 kB / 439.2 MB, free: 192 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.002354/0.1235, allocations: 0.8923 MB / 440.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.367e-05/0.1236, allocations: 7.984 kB / 440.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.1236, allocations: 4 kB / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.1237, allocations: 0 / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.167e-05/0.1237, allocations: 0 / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-06/0.1237, allocations: 0 / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.1253, allocations: 0.8936 MB / 441 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.1253, allocations: 7.984 kB / 441 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.1253, allocations: 25.7 kB / 441 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.1259, allocations: 259.5 kB / 441.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1259, allocations: 4 kB / 441.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1259, allocations: 4 kB / 441.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1259, 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.0004697/0.1264, allocations: 417 kB / 441.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1264, allocations: 15.97 kB / 441.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.1265, allocations: 3.953 kB / 441.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1266, allocations: 167 kB / 441.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1266, allocations: 0 / 441.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1266, allocations: 0 / 441.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.255e-05/0.1267, allocations: 33.7 kB / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1267, allocations: 0 / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1268, allocations: 0 / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1268, allocations: 0 / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.1268, allocations: 3.953 kB / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.127, allocations: 154 kB / 442 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.398e-05/0.127, allocations: 18.52 kB / 442.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.127, allocations: 12.89 kB / 442.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.127, allocations: 4 kB / 442.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.1271, allocations: 56.27 kB / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1271, allocations: 0 / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001855/0.1273, allocations: 75.28 kB / 442.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.1274, allocations: 77.11 kB / 442.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.1274, allocations: 89.86 kB / 442.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1274, allocations: 29.64 kB / 442.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.1275, allocations: 80.14 kB / 442.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1275, allocations: 12.06 kB / 442.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.1275, allocations: 0 / 442.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1276, allocations: 314.8 kB / 442.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-06/0.1277, allocations: 0 / 442.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-06/0.1277, allocations: 4 kB / 442.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.821e-05/0.1277, allocations: 29.7 kB / 442.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1277, allocations: 0 / 442.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.023e-05/0.1278, allocations: 63.39 kB / 442.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.1278, allocations: 33.8 kB / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1278, allocations: 0 / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1279, allocations: 0 / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.1279, allocations: 0 / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1279, allocations: 0 / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.1279, allocations: 4 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1279, allocations: 0 / 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.588e-05/0.128, allocations: 143.4 kB / 443.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.128, allocations: 8 kB / 443.1 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.698e-05/0.1281, allocations: 7.125 kB / 443.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1281, allocations: 0 / 443.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1281, allocations: 0 / 443.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1281, allocations: 0 / 443.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.483e-05/0.1282, allocations: 149.6 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1282, allocations: 3.984 kB / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.1282, allocations: 4 kB / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1282, allocations: 0 / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1282, allocations: 0 / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.1282, allocations: 0 / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1282, allocations: 3.938 kB / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.1283, allocations: 98.78 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.1284, allocations: 77.11 kB / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1284, allocations: 4 kB / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.114e-05/0.1284, allocations: 0 / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.1285, allocations: 4 kB / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.1285, allocations: 0 / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.1285, allocations: 79.22 kB / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1285, allocations: 4.031 kB / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005596/0.1291, allocations: 136 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.0008107/0.1299, allocations: 374.6 kB / 444 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.13, allocations: 63.39 kB / 444.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.13, allocations: 0 / 444.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.1301, allocations: 51.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.000133/0.1302, allocations: 11.7 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.000174/0.1304, allocations: 78.75 kB / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.1307, allocations: 0.6731 MB / 444.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.061e-06/0.1307, allocations: 128 / 444.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/0.1307, allocations: 11.44 kB / 444.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1307, allocations: 0 / 444.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Templates: time 0.007786/0.1385, allocations: 4.08 MB / 449 MB, free: 5.934 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: