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.001093/0.001093, allocations: 100.1 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.001422/0.001422, 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.696/1.696, 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.3622/0.3622, allocations: 40 MB / 310.4 MB, free: 9.953 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.0005489/0.0005491, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 57.96 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0004833/0.1166, allocations: 204.4 kB / 437 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.1194, allocations: 2.16 MB / 439.1 MB, free: 228 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.43e-05/0.1195, allocations: 0 / 439.1 MB, free: 228 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.408e-06/0.1195, allocations: 0 / 439.1 MB, free: 228 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.098e-06/0.1195, allocations: 0 / 439.1 MB, free: 228 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.1216, allocations: 0.8997 MB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.683e-05/0.1216, allocations: 0 / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.1216, allocations: 0 / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.298e-05/0.1216, allocations: 4 kB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.099e-05/0.1217, allocations: 0 / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.312e-06/0.1217, allocations: 0 / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.1228, allocations: 0.714 MB / 440.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.042e-06/0.1229, allocations: 0 / 440.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.1229, allocations: 29.7 kB / 440.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.1233, allocations: 255.5 kB / 441 MB, free: 14.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.1233, allocations: 0 / 441 MB, free: 14.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1233, allocations: 0 / 441 MB, free: 14.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1234, allocations: 4 kB / 441 MB, free: 14.31 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.0003744/0.1237, allocations: 421 kB / 441.4 MB, free: 13.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.1238, allocations: 12.03 kB / 441.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.1238, allocations: 7.953 kB / 441.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.017e-05/0.1239, allocations: 167 kB / 441.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1239, allocations: 4 kB / 441.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.1239, allocations: 0 / 441.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.266e-05/0.124, allocations: 29.7 kB / 441.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.124, allocations: 0 / 441.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.124, allocations: 0 / 441.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1241, allocations: 3.984 kB / 441.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.533e-05/0.1241, allocations: 7.953 kB / 441.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.1242, allocations: 146 kB / 441.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/0.1242, allocations: 18.52 kB / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.834e-06/0.1243, allocations: 7.938 kB / 441.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.1243, allocations: 60.3 kB / 441.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.474e-06/0.1243, allocations: 7.984 kB / 441.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.1245, allocations: 63.39 kB / 442 MB, free: 13.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.1245, allocations: 85.14 kB / 442 MB, free: 13.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.919e-05/0.1246, allocations: 89.86 kB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.1246, allocations: 25.7 kB / 442.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.373e-05/0.1246, allocations: 80.14 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.1246, allocations: 11.88 kB / 442.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-06/0.1246, allocations: 0 / 442.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1247, allocations: 314.8 kB / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.1248, allocations: 4 kB / 442.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.1248, allocations: 7.984 kB / 442.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.443e-05/0.1248, allocations: 25.7 kB / 442.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1248, allocations: 0 / 442.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.557e-05/0.1249, allocations: 59.41 kB / 442.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.1249, allocations: 29.7 kB / 442.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1249, allocations: 4 kB / 442.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1249, allocations: 0 / 442.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.1249, allocations: 0 / 442.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.125, allocations: 3.984 kB / 442.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.125, allocations: 4.094 kB / 442.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.125, allocations: 0 / 442.7 MB, free: 12.39 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 0.0001536/0.1252, allocations: 143.5 kB / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/0.1252, allocations: 0 / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.213e-05/0.1252, allocations: 7.062 kB / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1252, allocations: 0 / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1252, allocations: 0 / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1252, allocations: 4 kB / 442.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.94e-05/0.1253, allocations: 149.6 kB / 443 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1253, allocations: 0 / 443 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.1253, allocations: 4 kB / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1253, allocations: 0 / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1253, allocations: 0 / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.1253, allocations: 4 kB / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1253, allocations: 0 / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.834e-05/0.1254, allocations: 94.72 kB / 443.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.1255, allocations: 77.11 kB / 443.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1255, allocations: 8.031 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-06/0.1256, allocations: 0 / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.1256, allocations: 0 / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.1256, allocations: 0 / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.1256, allocations: 79.28 kB / 443.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.1256, allocations: 3.938 kB / 443.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004516/0.1261, allocations: 147.9 kB / 443.4 MB, free: 11.57 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.000672/0.1268, allocations: 366.8 kB / 443.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.1269, allocations: 55.41 kB / 443.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1269, allocations: 0 / 443.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.1269, allocations: 59.45 kB / 443.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.251e-05/0.127, allocations: 11.77 kB / 443.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001622/0.1272, allocations: 82.7 kB / 444 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1274, allocations: 0.6731 MB / 444.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.901e-06/0.1274, allocations: 4 kB / 444.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.076e-05/0.1275, allocations: 7.438 kB / 444.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1275, allocations: 0 / 444.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Templates: time 0.006605/0.1341, allocations: 4.076 MB / 448.7 MB, free: 6.172 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: