Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 186 kB / 7.8 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 95.48 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2054/0.2054, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2294/0.4348, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.8035, allocations: 58.84 MB / 476.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.9421, allocations: 87.48 MB / 0.5509 GB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.9424, allocations: 71.47 kB / 0.551 GB, free: 11.38 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.01424/0.9567, allocations: 4.756 MB / 0.5556 GB, free: 6.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.9568, allocations: 8 kB / 0.5556 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/0.9568, allocations: 31.72 kB / 0.5557 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.9572, allocations: 241.4 kB / 0.5559 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.9573, allocations: 11.94 kB / 0.5559 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.9573, allocations: 12 kB / 0.5559 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003963/0.9577, allocations: 192.8 kB / 0.5561 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.9582, allocations: 210.4 kB / 0.5563 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.9582, allocations: 4 kB / 0.5563 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.9582, allocations: 3.906 kB / 0.5563 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.9582, allocations: 8 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.9596, allocations: 0.6543 MB / 0.5569 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.9598, allocations: 150.2 kB / 0.5571 GB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.9601, allocations: 130.7 kB / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.9601, allocations: 4.234 kB / 0.5572 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.9601, allocations: 42.8 kB / 0.5573 GB, free: 4.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.9602, allocations: 0 / 0.5573 GB, free: 4.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.002341/0.9625, allocations: 1.09 MB / 0.5583 GB, free: 3.594 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.9625, allocations: 59.39 kB / 0.5584 GB, free: 3.523 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.9627, allocations: 136.8 kB / 0.5585 GB, free: 3.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.9627, allocations: 29.7 kB / 0.5585 GB, free: 3.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.9628, allocations: 124.6 kB / 0.5587 GB, free: 3.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.9629, allocations: 114.4 kB / 0.5588 GB, free: 3.109 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.9629, allocations: 0 / 0.5588 GB, free: 3.109 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.9631, allocations: 334.8 kB / 0.5591 GB, free: 2.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.9633, allocations: 99.78 kB / 0.5592 GB, free: 2.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.9635, allocations: 139.2 kB / 0.5593 GB, free: 2.527 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.9638, allocations: 95.81 kB / 0.5594 GB, free: 2.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.9638, allocations: 0 / 0.5594 GB, free: 2.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007326/0.9645, allocations: 378 kB / 0.5598 GB, free: 2.055 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.9645, allocations: 7.938 kB / 0.5598 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.9646, allocations: 4 kB / 0.5598 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005315/0.9651, allocations: 180.8 kB / 0.56 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.9654, allocations: 55.91 kB / 0.56 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009271/0.9663, allocations: 0.7405 MB / 0.5607 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.9666, allocations: 56.08 kB / 0.5608 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.9667, allocations: 8 kB / 0.5608 GB, free: 0.9766 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.9669, allocations: 120.9 kB / 0.5609 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.967, allocations: 23.72 kB / 0.5609 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009241/0.9679, allocations: 392.8 kB / 0.5613 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.9679, allocations: 4 kB / 0.5613 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9679, allocations: 0 / 0.5613 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.9679, allocations: 7.984 kB / 0.5613 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.9695, allocations: 0.8438 MB / 0.5621 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.9695, allocations: 3.984 kB / 0.5621 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.9698, allocations: 56.03 kB / 0.5622 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003606/0.9702, allocations: 160.7 kB / 0.5623 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.9702, allocations: 7.984 kB / 0.5624 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008866/0.9711, allocations: 0.6928 MB / 0.563 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.9711, allocations: 4 kB / 0.563 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001141/0.9723, allocations: 0.6068 MB / 0.5636 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001445/0.9738, allocations: 1.103 MB / 0.5647 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.9739, allocations: 124.8 kB / 0.5648 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.974, allocations: 7.984 kB / 0.5648 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.9743, allocations: 48.03 kB / 0.5649 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.9744, allocations: 59.88 kB / 0.5649 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.9745, allocations: 19.98 kB / 0.565 GB, free: 12.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.094e-05/0.9746, allocations: 111.3 kB / 0.5651 GB, free: 12.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001083/0.9756, allocations: 68.12 kB / 0.5651 GB, free: 12.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002273/0.9759, allocations: 131.1 kB / 0.5653 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005888/0.9765, allocations: 298.6 kB / 0.5655 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9765, allocations: 96 / 0.5655 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.9768, allocations: 147.6 kB / 0.5657 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.9771, allocations: 28.45 kB / 0.5657 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.9781, allocations: 455.4 kB / 0.5661 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.9786, allocations: 0.7793 MB / 0.5669 GB, free: 10.45 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.9786, allocations: 0 / 0.5669 GB, free: 10.45 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1)