Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.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.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 100.6 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.001677/0.001677, allocations: 177.3 kB / 15.94 MB, free: 228 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.578/1.578, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.3326/0.3326, allocations: 39.99 MB / 310.4 MB, free: 9.727 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.0005407/0.0005409, allocations: 12 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1245, allocations: 57.96 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.0005362/0.1251, allocations: 220.4 kB / 437 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1267, allocations: 1.358 MB / 438.3 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.1267, allocations: 0 / 438.3 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.1267, allocations: 3.938 kB / 438.3 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.449e-06/0.1267, allocations: 0 / 438.3 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.1271, allocations: 83.73 kB / 438.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.339e-05/0.1272, allocations: 7.984 kB / 438.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.1272, allocations: 4 kB / 438.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.431e-05/0.1273, allocations: 3.938 kB / 438.4 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.528e-05/0.1273, allocations: 3.984 kB / 438.4 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.141e-06/0.1273, allocations: 0 / 438.4 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.1275, allocations: 35.91 kB / 438.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-06/0.1275, allocations: 0 / 438.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.1275, allocations: 29.7 kB / 438.5 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.049e-05/0.1276, allocations: 23.95 kB / 438.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1276, allocations: 0 / 438.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1276, allocations: 0 / 438.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1276, allocations: 4 kB / 438.5 MB, free: 0.5078 MB / 366.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.0002994/0.128, allocations: 345.1 kB / 438.9 MB, free: 120 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.128, allocations: 8.031 kB / 438.9 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.128, allocations: 0 / 438.9 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1282, allocations: 167.1 kB / 439 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1282, allocations: 0 / 439 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.1282, allocations: 4 kB / 439 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.817e-05/0.1283, allocations: 25.7 kB / 439.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1283, allocations: 4 kB / 439.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1283, allocations: 0 / 439.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1283, allocations: 7.953 kB / 439.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.1284, allocations: 11.86 kB / 439.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.1285, allocations: 141.7 kB / 439.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.67e-05/0.1286, allocations: 26.59 kB / 439.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.1286, allocations: 0 / 439.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/0.1286, allocations: 60.27 kB / 439.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.1286, allocations: 0 / 439.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001629/0.1288, allocations: 67.31 kB / 439.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.1289, allocations: 81.09 kB / 439.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.694e-05/0.1289, allocations: 93.81 kB / 439.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1289, allocations: 25.7 kB / 439.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.129, allocations: 88.14 kB / 439.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.129, allocations: 0 / 439.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-06/0.129, allocations: 0 / 439.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1291, allocations: 315 kB / 440 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.1291, allocations: 0 / 440 MB, free: 14.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.1291, allocations: 3.938 kB / 440 MB, free: 14.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.1292, allocations: 29.7 kB / 440 MB, free: 14.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1292, allocations: 0 / 440 MB, free: 14.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.501e-05/0.1293, allocations: 67.33 kB / 440.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.1293, allocations: 29.7 kB / 440.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1293, allocations: 0 / 440.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1293, allocations: 96 / 440.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.1293, allocations: 4 kB / 440.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1293, allocations: 0 / 440.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.1294, allocations: 4 kB / 440.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1294, allocations: 7.953 kB / 440.1 MB, free: 14.67 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.063e-05/0.1295, allocations: 131.5 kB / 440.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.1295, allocations: 7.984 kB / 440.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.215e-05/0.1295, allocations: 3.125 kB / 440.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1295, allocations: 0 / 440.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1295, allocations: 4 kB / 440.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.1295, allocations: 0 / 440.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.647e-05/0.1296, allocations: 145.6 kB / 440.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1296, allocations: 4 kB / 440.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.1296, allocations: 0 / 440.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1296, allocations: 0 / 440.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1296, allocations: 11.92 kB / 440.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1297, allocations: 0 / 440.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1297, allocations: 0 / 440.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.72e-05/0.1298, allocations: 98.73 kB / 440.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.1298, allocations: 81.09 kB / 440.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.1298, allocations: 0 / 440.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-06/0.1298, allocations: 4 kB / 440.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.1298, allocations: 0 / 440.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1299, allocations: 4 kB / 440.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.358e-05/0.1299, allocations: 75.28 kB / 440.7 MB, free: 14 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1299, allocations: 0 / 440.7 MB, free: 14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.1301, allocations: 16 kB / 440.7 MB, free: 13.98 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.0002781/0.1304, allocations: 143.2 kB / 440.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.704e-05/0.1305, allocations: 59.41 kB / 440.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1305, allocations: 4 kB / 440.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.1305, allocations: 55.39 kB / 440.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.377e-05/0.1306, allocations: 11.89 kB / 440.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001568/0.1308, allocations: 78.83 kB / 441 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1311, allocations: 0.677 MB / 441.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.982e-06/0.1311, allocations: 0 / 441.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.061e-05/0.1311, allocations: 7.438 kB / 441.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1311, allocations: 3.938 kB / 441.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of Templates: time 0.002719/0.1338, allocations: 0.6013 MB / 442.3 MB, free: 12.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) Environment - environmentSimulation: