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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001536/0.001536, allocations: 182.6 kB / 7.652 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.83/1.83, allocations: 194.3 MB / 202.4 MB, free: 8.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001746/0.001746, allocations: 114.2 kB / 247.4 MB, free: 6.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2146/0.2146, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.916e-05/1.915e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4938/0.6339, allocations: 79.92 MB / 0.5157 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.6341, allocations: 63.73 kB / 0.5158 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01608/0.6502, allocations: 6.295 MB / 0.5219 GB, free: 9.102 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6503, allocations: 3.781 kB / 0.5219 GB, free: 9.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.6503, allocations: 0 / 0.5219 GB, free: 9.102 MB / 346.7 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.0003461/0.6506, allocations: 363.2 kB / 0.5223 GB, free: 8.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.6507, allocations: 11.72 kB / 0.5223 GB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.6508, allocations: 15.86 kB / 0.5223 GB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.823e-05/0.6508, allocations: 163.1 kB / 0.5225 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.6509, allocations: 0 / 0.5225 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.6509, allocations: 0 / 0.5225 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.925e-05/0.651, allocations: 4.781 kB / 0.5225 GB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.187e-05/0.651, allocations: 29.58 kB / 0.5225 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.6511, allocations: 0 / 0.5225 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.6511, allocations: 0 / 0.5225 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.6511, allocations: 3.953 kB / 0.5225 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.6512, allocations: 133.4 kB / 0.5226 GB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.717e-05/0.6513, allocations: 18.42 kB / 0.5226 GB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.6513, allocations: 4.859 kB / 0.5227 GB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.6513, allocations: 3.984 kB / 0.5227 GB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.6514, allocations: 64.05 kB / 0.5227 GB, free: 8.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/0.6514, allocations: 0 / 0.5227 GB, free: 8.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000249/0.6516, allocations: 36.86 kB / 0.5228 GB, free: 8.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.6517, allocations: 81.14 kB / 0.5228 GB, free: 8.051 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.852e-05/0.6517, allocations: 85 kB / 0.5229 GB, free: 7.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.6517, allocations: 29.55 kB / 0.5229 GB, free: 7.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.6518, allocations: 80.14 kB / 0.523 GB, free: 7.848 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.6518, allocations: 0 / 0.523 GB, free: 7.848 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.6518, allocations: 0 / 0.523 GB, free: 7.848 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.6519, allocations: 318.8 kB / 0.5233 GB, free: 7.527 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-06/0.6519, allocations: 0 / 0.5233 GB, free: 7.527 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-06/0.6519, allocations: 4 kB / 0.5233 GB, free: 7.523 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.652, allocations: 7.781 kB / 0.5233 GB, free: 7.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.652, allocations: 0 / 0.5233 GB, free: 7.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.561e-05/0.6521, allocations: 36.67 kB / 0.5234 GB, free: 7.488 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.6521, allocations: 33.62 kB / 0.5234 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6521, allocations: 0 / 0.5234 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.6521, allocations: 3.938 kB / 0.5234 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.6521, allocations: 0 / 0.5234 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.6522, allocations: 3.844 kB / 0.5234 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.422e-05/0.6522, allocations: 96 / 0.5234 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.6522, allocations: 4 kB / 0.5234 GB, free: 7.445 MB / 346.7 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 () * 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 6.906e-05/0.6523, allocations: 130.6 kB / 0.5235 GB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.6523, allocations: 3.844 kB / 0.5235 GB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.639e-05/0.6523, allocations: 7.703 kB / 0.5235 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.6523, allocations: 0 / 0.5235 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6523, allocations: 0 / 0.5235 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6523, allocations: 0 / 0.5235 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.226e-05/0.6524, allocations: 126.2 kB / 0.5237 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6524, allocations: 3.844 kB / 0.5237 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-06/0.6524, allocations: 7.953 kB / 0.5237 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.6524, allocations: 0 / 0.5237 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.6524, allocations: 0 / 0.5237 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6524, allocations: 0 / 0.5237 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6524, allocations: 0 / 0.5237 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.6526, allocations: 63.94 kB / 0.5237 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.6526, allocations: 77.11 kB / 0.5238 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.6526, allocations: 3.953 kB / 0.5238 GB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-06/0.6526, allocations: 11.97 kB / 0.5238 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.6527, allocations: 7.25 kB / 0.5238 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.6527, allocations: 0 / 0.5238 GB, free: 6.957 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.756e-05/0.6527, allocations: 75.28 kB / 0.5239 GB, free: 6.883 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6527, allocations: 3.938 kB / 0.5239 GB, free: 6.879 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.6529, allocations: 7.688 kB / 0.5239 GB, free: 6.879 MB / 346.7 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) * 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.0002932/0.6532, allocations: 109.8 kB / 0.524 GB, free: 6.777 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.361e-05/0.6533, allocations: 55.28 kB / 0.5241 GB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6533, allocations: 3.969 kB / 0.5241 GB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.986e-05/0.6534, allocations: 51.41 kB / 0.5241 GB, free: 6.652 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.6535, allocations: 9.344 kB / 0.5241 GB, free: 6.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001736/0.6537, allocations: 47.81 kB / 0.5242 GB, free: 6.586 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.6538, allocations: 0.669 MB / 0.5248 GB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.355e-06/0.6538, allocations: 0 / 0.5248 GB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.6539, allocations: 15.44 kB / 0.5248 GB, free: 5.879 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6539, allocations: 3.938 kB / 0.5249 GB, free: 5.875 MB / 346.7 MB Notification: Performance of Templates: time 0.002251/0.6561, allocations: 279.2 kB / 0.5251 GB, free: 5.738 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.makefile (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)