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/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.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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004035/0.004035, allocations: 183.2 kB / 7.458 MB, free: 2.492 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.222/1.222, allocations: 194.2 MB / 202.1 MB, free: 8.734 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.001666/0.001666, allocations: 121 kB / 247.1 MB, free: 6.328 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.1545/0.1545, allocations: 39.94 MB / 331.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.804e-06/7.834e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.09068, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2989/0.3896, allocations: 83.06 MB / 0.5183 GB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.39, allocations: 60.7 kB / 0.5183 GB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03625/0.4263, allocations: 14.61 MB / 0.5326 GB, free: 4.762 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.4263, allocations: 0 / 0.5326 GB, free: 4.762 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.0004363/0.4268, allocations: 466.7 kB / 0.533 GB, free: 4.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4268, allocations: 8.031 kB / 0.533 GB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.4269, allocations: 7.906 kB / 0.533 GB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.144e-05/0.4269, allocations: 167.1 kB / 0.5332 GB, free: 4.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4269, allocations: 4 kB / 0.5332 GB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.427, allocations: 0 / 0.5332 GB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.448e-05/0.427, allocations: 0 / 0.5332 GB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.251e-05/0.427, allocations: 29.7 kB / 0.5332 GB, free: 4.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.4271, allocations: 3.938 kB / 0.5332 GB, free: 4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.4271, allocations: 0 / 0.5332 GB, free: 4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4271, allocations: 0 / 0.5332 GB, free: 4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.434e-05/0.4272, allocations: 133.3 kB / 0.5334 GB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.148e-05/0.4272, allocations: 18.61 kB / 0.5334 GB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.091e-05/0.4272, allocations: 5.297 kB / 0.5334 GB, free: 3.801 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.4272, allocations: 0.75 kB / 0.5334 GB, free: 3.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4273, allocations: 60.25 kB / 0.5334 GB, free: 3.727 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.4273, allocations: 0 / 0.5334 GB, free: 3.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001151/0.4274, allocations: 29.77 kB / 0.5335 GB, free: 3.691 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.4274, allocations: 88.7 kB / 0.5336 GB, free: 3.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.611e-05/0.4275, allocations: 85 kB / 0.5336 GB, free: 3.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.4275, allocations: 29.7 kB / 0.5337 GB, free: 3.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.321e-05/0.4275, allocations: 84.08 kB / 0.5337 GB, free: 3.379 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.4275, allocations: 3.938 kB / 0.5338 GB, free: 3.375 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.4275, allocations: 0 / 0.5338 GB, free: 3.375 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.4276, allocations: 314.8 kB / 0.5341 GB, free: 3.059 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-06/0.4276, allocations: 0 / 0.5341 GB, free: 3.059 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-06/0.4276, allocations: 0 / 0.5341 GB, free: 3.059 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.269e-05/0.4276, allocations: 8.062 kB / 0.5341 GB, free: 3.051 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4276, allocations: 0 / 0.5341 GB, free: 3.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.674e-05/0.4276, allocations: 33.69 kB / 0.5341 GB, free: 3.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/0.4277, allocations: 4 kB / 0.5341 GB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4277, allocations: 0 / 0.5341 GB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.4277, allocations: 0 / 0.5341 GB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.153e-06/0.4277, allocations: 4 kB / 0.5341 GB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.4277, allocations: 0 / 0.5341 GB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.164e-05/0.4277, allocations: 0 / 0.5341 GB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.4277, allocations: 32 / 0.5341 GB, free: 3.004 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 5.453e-05/0.4278, allocations: 138.1 kB / 0.5342 GB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.4278, allocations: 7.938 kB / 0.5342 GB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.014e-05/0.4278, allocations: 10.94 kB / 0.5343 GB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.4278, allocations: 0 / 0.5343 GB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4278, allocations: 0 / 0.5343 GB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4278, allocations: 0 / 0.5343 GB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.254e-05/0.4279, allocations: 129.8 kB / 0.5344 GB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.4279, allocations: 0 / 0.5344 GB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-06/0.4279, allocations: 4 kB / 0.5344 GB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.4279, allocations: 4 kB / 0.5344 GB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.4279, allocations: 0 / 0.5344 GB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.4279, allocations: 0 / 0.5344 GB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4279, allocations: 0 / 0.5344 GB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.725e-05/0.428, allocations: 60.88 kB / 0.5344 GB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.428, allocations: 81.02 kB / 0.5345 GB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.428, allocations: 0 / 0.5345 GB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-06/0.428, allocations: 3.984 kB / 0.5345 GB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.4281, allocations: 8.031 kB / 0.5345 GB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.4281, allocations: 4 kB / 0.5345 GB, free: 2.484 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.324e-05/0.4281, allocations: 83.27 kB / 0.5346 GB, free: 2.402 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.4283, allocations: 7.938 kB / 0.5346 GB, free: 2.395 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 9.597e-05/0.4284, allocations: 95.25 kB / 0.5347 GB, free: 2.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.669e-05/0.4285, allocations: 33.64 kB / 0.5347 GB, free: 2.254 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4285, allocations: 64 / 0.5347 GB, free: 2.254 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.087e-05/0.4285, allocations: 33.14 kB / 0.5348 GB, free: 2.219 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.208e-05/0.4286, allocations: 7.938 kB / 0.5348 GB, free: 2.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001244/0.4287, allocations: 40.08 kB / 0.5348 GB, free: 2.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.4289, allocations: 0.6802 MB / 0.5355 GB, free: 1.441 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.4289, allocations: 0 / 0.5355 GB, free: 1.441 MB / 346.7 MB Notification: Performance of Templates: time 0.001702/0.4306, allocations: 204.2 kB / 0.5357 GB, free: 1.254 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (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)