Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001273, allocations: 103.2 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 199.8 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04906/0.04906, allocations: 9.131 MB / 306.4 MB, free: 3.758 MB / 238.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") translateModel(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.89 kB / 423.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.1015, allocations: 51.45 MB / 474.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.01028/0.1118, allocations: 8.196 MB / 483 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.1178, allocations: 2.663 MB / 485.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.1189, allocations: 31.94 kB / 485.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008459/0.1198, allocations: 345.7 kB / 486 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.1226, allocations: 1.221 MB / 487.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.1232, allocations: 263.6 kB / 487.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002995/0.1262, allocations: 2.422 MB / 489.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.1278, allocations: 1.158 MB / 491.1 MB, free: 172 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.1291, allocations: 0.8794 MB / 492 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.1308, allocations: 1.316 MB / 493.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000431/0.1313, allocations: 248 kB / 493.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.1328, allocations: 0.7685 MB / 494.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.134, allocations: 1.204 MB / 495.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.1357, allocations: 1.546 MB / 497 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006119/0.1418, allocations: 4.942 MB / 0.4902 GB, free: 5.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1419, allocations: 0 / 0.4902 GB, free: 5.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1419, allocations: 0 / 0.4902 GB, free: 5.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000144/0.142, allocations: 0 / 0.4902 GB, free: 5.23 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.007569/0.1496, allocations: 3.704 MB / 0.4938 GB, free: 1.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1497, allocations: 8.031 kB / 0.4938 GB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006763/0.1564, allocations: 1.773 MB / 0.4956 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.1595, allocations: 1.322 MB / 0.4969 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.1597, allocations: 160.1 kB / 0.497 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004503/0.1601, allocations: 200.2 kB / 0.4972 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/0.172, allocations: 7.55 MB / 0.5046 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.036e-05/0.1721, allocations: 27.8 kB / 0.5046 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002919/0.1724, allocations: 95.88 kB / 0.5047 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002902/0.1753, allocations: 1.708 MB / 0.5064 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3011/0.4765, allocations: 6.821 MB / 0.513 GB, free: 39.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04488/0.5214, allocations: 22.96 MB / 0.5354 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003999/0.5255, allocations: 2.014 MB / 0.5374 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.527, allocations: 0.7659 MB / 0.5382 GB, free: 22.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005104/0.5321, allocations: 2.862 MB / 0.541 GB, free: 20.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.5322, allocations: 39.5 kB / 0.541 GB, free: 20.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=118): time 5.13e-06/0.5322, allocations: 5.438 kB / 0.541 GB, free: 20.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.00821/0.5404, allocations: 4.076 MB / 0.545 GB, free: 18.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.5405, allocations: 63.62 kB / 0.545 GB, free: 18.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004476/0.5449, allocations: 2.408 MB / 0.5474 GB, free: 17.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.5451, allocations: 41.33 kB / 0.5474 GB, free: 17.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.5462, allocations: 2.078 MB / 0.5495 GB, free: 15.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.5466, allocations: 0.5183 MB / 0.55 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.5477, allocations: 0.7325 MB / 0.5507 GB, free: 14.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.405e-05/0.5477, allocations: 308.1 kB / 0.551 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.5495, allocations: 1.211 MB / 0.5522 GB, free: 13.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.5519, allocations: 3.27 MB / 0.5554 GB, free: 8.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005966/0.5579, allocations: 5.384 MB / 0.5606 GB, free: 2.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.864e-05/0.558, allocations: 24 kB / 0.5606 GB, free: 2.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.008606/0.5666, allocations: 4.573 MB / 0.5651 GB, free: 14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-05/0.5667, allocations: 36 kB / 0.5651 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/0.5669, allocations: 75.84 kB / 0.5652 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.5675, allocations: 240 kB / 0.5654 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/0.5704, allocations: 0.811 MB / 0.5662 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/0.5743, allocations: 2.889 MB / 0.569 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/0.5773, allocations: 191.9 kB / 0.5692 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006506/0.5779, allocations: 220 kB / 0.5694 GB, free: 9.418 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: revolute.w:VARIABLE(start = -5.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.always ) \"Angular velocity\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 328 * Number of states: 0 () * Number of discrete variables: 9 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 431 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003185/0.5811, allocations: 1.504 MB / 0.5709 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005193/0.5817, allocations: 206.6 kB / 0.5711 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/0.5854, allocations: 1.818 MB / 0.5729 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000108/0.5855, allocations: 31.91 kB / 0.5729 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.5856, allocations: 4 kB / 0.5729 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.5856, allocations: 3.984 kB / 0.5729 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.5962, allocations: 5.188 MB / 0.578 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.5963, allocations: 4 kB / 0.578 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/0.5971, allocations: 175.8 kB / 0.5782 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003892/0.5975, allocations: 120.7 kB / 0.5783 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.329e-05/0.5976, allocations: 28 kB / 0.5783 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00318/0.6008, allocations: 2.421 MB / 0.5807 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.6008, allocations: 4.031 kB / 0.5807 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/0.6057, allocations: 2.836 MB / 0.5834 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.6069, allocations: 423.6 kB / 0.5838 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/0.6075, allocations: 23.83 kB / 0.5839 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.6086, allocations: 55.94 kB / 0.5839 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.6088, allocations: 76.72 kB / 0.584 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.205e-05/0.6089, allocations: 39.98 kB / 0.584 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003146/0.612, allocations: 1.554 MB / 0.5855 GB, free: 8.582 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.612, allocations: 0 / 0.5855 GB, free: 8.582 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003443/0.6155, allocations: 0.6171 MB / 0.5862 GB, free: 7.965 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004701/0.616, allocations: 151.6 kB / 0.5863 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005604/0.6216, allocations: 2.94 MB / 0.5892 GB, free: 4.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.6216, allocations: 0 / 0.5892 GB, free: 4.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.6233, allocations: 0.9266 MB / 0.5901 GB, free: 3.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.626, allocations: 397 kB / 0.5904 GB, free: 3.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/0.6388, allocations: 5.993 MB / 0.5963 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003958/0.6428, allocations: 2.462 MB / 0.5987 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003223/0.6461, allocations: 1.097 MB / 0.5998 GB, free: 9.949 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006071/0.6467, allocations: 159.4 kB / 0.5999 GB, free: 9.793 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6467, allocations: 0 / 0.5999 GB, free: 9.793 MB / 430.1 MB Notification: Performance of Templates: time 0.05077/0.6975, allocations: 23.23 MB / 0.6226 GB, free: 2.695 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.764962243847549]