Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.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.TestComplexOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations") [: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.002409/0.00241, allocations: 187.4 kB / 7.46 MB, free: 2.344 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.106/1.106, allocations: 194.2 MB / 202.1 MB, free: 8.672 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.001692/0.001692, allocations: 128.2 kB / 247.1 MB, free: 6.352 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.1649/0.1649, allocations: 39.94 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.464e-06, allocations: 3.938 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09657, allocations: 54.86 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2893/0.3859, allocations: 83.06 MB / 0.5183 GB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/0.3862, allocations: 64.2 kB / 0.5183 GB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03489/0.4211, allocations: 14.61 MB / 0.5326 GB, free: 4.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4211, allocations: 0 / 0.5326 GB, free: 4.984 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.0004288/0.4216, allocations: 466.3 kB / 0.533 GB, free: 4.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4216, allocations: 8.031 kB / 0.533 GB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.4216, allocations: 7.906 kB / 0.533 GB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.02e-05/0.4217, allocations: 163 kB / 0.5332 GB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.4217, allocations: 3.984 kB / 0.5332 GB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.4217, allocations: 8 kB / 0.5332 GB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.803e-05/0.4218, allocations: 0 / 0.5332 GB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.776e-05/0.4218, allocations: 29.7 kB / 0.5332 GB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.4218, allocations: 3.938 kB / 0.5332 GB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.4219, allocations: 0 / 0.5332 GB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.4219, allocations: 0 / 0.5332 GB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.529e-05/0.422, allocations: 130 kB / 0.5334 GB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.167e-05/0.422, allocations: 18.61 kB / 0.5334 GB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.145e-05/0.422, allocations: 9.297 kB / 0.5334 GB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.422, allocations: 0 / 0.5334 GB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.4221, allocations: 60.25 kB / 0.5335 GB, free: 3.945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.4221, allocations: 0 / 0.5335 GB, free: 3.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.4222, allocations: 29.77 kB / 0.5335 GB, free: 3.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.4222, allocations: 81.05 kB / 0.5336 GB, free: 3.812 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.858e-05/0.4222, allocations: 89 kB / 0.5336 GB, free: 3.719 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.4223, allocations: 25.7 kB / 0.5337 GB, free: 3.688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.536e-05/0.4223, allocations: 91.48 kB / 0.5338 GB, free: 3.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.4223, allocations: 0 / 0.5338 GB, free: 3.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.4223, allocations: 0 / 0.5338 GB, free: 3.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.4224, allocations: 314.8 kB / 0.5341 GB, free: 3.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-06/0.4224, allocations: 0 / 0.5341 GB, free: 3.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-06/0.4224, allocations: 4 kB / 0.5341 GB, free: 3.277 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.127e-05/0.4224, allocations: 0 / 0.5341 GB, free: 3.277 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4224, allocations: 0 / 0.5341 GB, free: 3.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.813e-05/0.4224, allocations: 37.75 kB / 0.5341 GB, free: 3.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.4225, allocations: 4 kB / 0.5341 GB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4225, allocations: 0 / 0.5341 GB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4225, allocations: 4 kB / 0.5341 GB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.4225, allocations: 0 / 0.5341 GB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4225, allocations: 0 / 0.5341 GB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.153e-05/0.4225, allocations: 0 / 0.5341 GB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.4225, allocations: 0 / 0.5341 GB, free: 3.227 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.055e-05/0.4226, allocations: 130.6 kB / 0.5342 GB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.4226, allocations: 11.97 kB / 0.5342 GB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.281e-05/0.4226, allocations: 13.44 kB / 0.5342 GB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.4226, allocations: 0 / 0.5342 GB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4226, allocations: 0 / 0.5342 GB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4226, allocations: 0 / 0.5342 GB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.312e-05/0.4227, allocations: 126.2 kB / 0.5344 GB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.4227, allocations: 4 kB / 0.5344 GB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.4227, allocations: 3.938 kB / 0.5344 GB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-06/0.4227, allocations: 0 / 0.5344 GB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.4227, allocations: 0 / 0.5344 GB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.4227, allocations: 0 / 0.5344 GB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4227, allocations: 4 kB / 0.5344 GB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.289e-05/0.4228, allocations: 59.88 kB / 0.5344 GB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.4228, allocations: 81.02 kB / 0.5345 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.4228, allocations: 0 / 0.5345 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-06/0.4228, allocations: 0 / 0.5345 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.4229, allocations: 7.984 kB / 0.5345 GB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.4229, allocations: 4 kB / 0.5345 GB, free: 2.707 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.532e-05/0.4229, allocations: 83.31 kB / 0.5346 GB, free: 2.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.4231, allocations: 15.92 kB / 0.5346 GB, free: 2.609 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.0001027/0.4232, allocations: 91.25 kB / 0.5347 GB, free: 2.512 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.181e-05/0.4233, allocations: 36.77 kB / 0.5347 GB, free: 2.473 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4233, allocations: 0 / 0.5347 GB, free: 2.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.4233, allocations: 25.7 kB / 0.5348 GB, free: 2.441 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.94e-05/0.4234, allocations: 4 kB / 0.5348 GB, free: 2.438 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001136/0.4236, allocations: 44.2 kB / 0.5348 GB, free: 2.371 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/0.4237, allocations: 0.6802 MB / 0.5355 GB, free: 1.664 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4237, allocations: 0 / 0.5355 GB, free: 1.664 MB / 346.7 MB Notification: Performance of Templates: time 0.001757/0.4254, allocations: 209 kB / 0.5357 GB, free: 1.477 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1)