Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.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.001677/0.001677, allocations: 102.3 kB / 16.4 MB, free: 6.453 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.001771/0.001771, allocations: 194.8 kB / 19.36 MB, free: 3.73 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.456/1.456, allocations: 222.9 MB / 245 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.05018/0.05018, allocations: 9.135 MB / 306.4 MB, free: 3.77 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.Examples.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") translateModel(PlanarMechanics.Examples.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 60.05 kB / 423.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1212, allocations: 51.44 MB / 474.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.01397/0.1352, allocations: 10.49 MB / 485.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007586/0.1429, allocations: 2.971 MB / 488.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.1451, allocations: 47.88 kB / 488.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.1465, allocations: 448.8 kB / 488.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004332/0.1509, allocations: 1.575 MB / 490.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.1516, allocations: 223.6 kB / 490.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004286/0.1559, allocations: 3.024 MB / 493.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.1577, allocations: 1.178 MB / 494.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.1594, allocations: 1.097 MB / 495.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.162, allocations: 1.541 MB / 497.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005957/0.1626, allocations: 276 kB / 497.7 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.1645, allocations: 0.8816 MB / 498.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.1659, allocations: 1.398 MB / 499.9 MB, free: 7.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002122/0.168, allocations: 1.856 MB / 0.49 GB, free: 5.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00777/0.1758, allocations: 5.738 MB / 0.4956 GB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1759, allocations: 0 / 0.4956 GB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1759, allocations: 4 kB / 0.4956 GB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001768/0.1761, allocations: 0 / 0.4956 GB, free: 15.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1368 * Number of variables: 1368 Notification: Performance of Generate backend data structure: time 0.01498/0.191, allocations: 5.835 MB / 0.5013 GB, free: 9.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1911, allocations: 12.03 kB / 0.5013 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006959/0.1981, allocations: 1.843 MB / 0.5031 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003816/0.2019, allocations: 1.596 MB / 0.5047 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.2022, allocations: 180.7 kB / 0.5049 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007587/0.203, allocations: 243.8 kB / 0.5051 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2911/0.4941, allocations: 9.304 MB / 0.5142 GB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.917e-05/0.4942, allocations: 31.19 kB / 0.5142 GB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.4946, allocations: 115.7 kB / 0.5143 GB, free: 39.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003747/0.4983, allocations: 2.075 MB / 0.5164 GB, free: 38.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.5165, allocations: 8.246 MB / 0.5244 GB, free: 36.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03419/0.5507, allocations: 29.98 MB / 0.5537 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006308/0.557, allocations: 3.037 MB / 0.5567 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.5585, allocations: 1.112 MB / 0.5577 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00592/0.5644, allocations: 6.298 MB / 0.5639 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.5645, allocations: 43.88 kB / 0.5639 GB, free: 1.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 3.637e-06/0.5645, allocations: 0 / 0.5639 GB, free: 1.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=233): time 0.02266/0.5871, allocations: 8.36 MB / 0.5721 GB, free: 8.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.5872, allocations: 73.41 kB / 0.5722 GB, free: 8.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004727/0.592, allocations: 3.073 MB / 0.5752 GB, free: 5.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.5922, allocations: 53.7 kB / 0.5752 GB, free: 5.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001984/0.5942, allocations: 2.521 MB / 0.5777 GB, free: 3.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009493/0.5951, allocations: 0.8835 MB / 0.5785 GB, free: 2.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/0.5966, allocations: 0.9893 MB / 0.5795 GB, free: 1.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5967, allocations: 309.1 kB / 0.5798 GB, free: 1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002833/0.5995, allocations: 1.63 MB / 0.5814 GB, free: 15.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005089/0.6046, allocations: 4.25 MB / 0.5856 GB, free: 9.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008702/0.6134, allocations: 6.395 MB / 0.5918 GB, free: 2.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-05/0.6135, allocations: 28 kB / 0.5918 GB, free: 2.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=659) (initialization): time 0.01232/0.6258, allocations: 6.492 MB / 0.5982 GB, free: 11.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.68e-05/0.6259, allocations: 44 kB / 0.5982 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/0.626, allocations: 95.94 kB / 0.5983 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.6279, allocations: 0.7082 MB / 0.599 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/0.6312, allocations: 1.048 MB / 0.6 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/0.6461, allocations: 12.19 MB / 0.6119 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/0.6496, allocations: 251.9 kB / 0.6122 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005784/0.6502, allocations: 288 kB / 0.6124 GB, free: 12.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 574 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,17,100.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.003358/0.6536, allocations: 1.788 MB / 0.6142 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005776/0.6542, allocations: 302 kB / 0.6145 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005979/0.6602, allocations: 3.132 MB / 0.6175 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001194/0.6603, allocations: 40.86 kB / 0.6176 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.6603, allocations: 4 kB / 0.6176 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/0.6604, allocations: 11.95 kB / 0.6176 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.6754, allocations: 8.206 MB / 0.6256 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.6754, allocations: 4 kB / 0.6256 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.6766, allocations: 295.6 kB / 0.6259 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.6781, allocations: 0.5412 MB / 0.6264 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.6782, allocations: 39.98 kB / 0.6264 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.6901, allocations: 10.04 MB / 0.6362 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.6902, allocations: 4 kB / 0.6363 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008/0.6982, allocations: 4.702 MB / 0.6408 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008406/0.699, allocations: 367.2 kB / 0.6412 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/0.6994, allocations: 47.92 kB / 0.6412 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.7004, allocations: 91.89 kB / 0.6413 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/0.7008, allocations: 153.7 kB / 0.6415 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.7009, allocations: 63.98 kB / 0.6415 GB, free: 13.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003249/0.7041, allocations: 1.964 MB / 0.6435 GB, free: 11.78 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7042, allocations: 0 / 0.6435 GB, free: 11.78 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003846/0.708, allocations: 0.9061 MB / 0.6443 GB, free: 10.88 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute1.phi,revolute1.w,revolute4.phi,revolute4.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 (170): * Single equations (assignments): 161 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,15,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004249/0.7084, allocations: 182 kB / 0.6445 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008439/0.7169, allocations: 4.723 MB / 0.6491 GB, free: 5.914 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.7169, allocations: 384 / 0.6491 GB, free: 5.914 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003004/0.7199, allocations: 1.978 MB / 0.6511 GB, free: 3.867 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/0.7224, allocations: 477.1 kB / 0.6515 GB, free: 3.406 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.737, allocations: 7.985 MB / 0.6593 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003936/0.741, allocations: 2.928 MB / 0.6622 GB, free: 8.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003527/0.7446, allocations: 1.366 MB / 0.6635 GB, free: 6.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006691/0.7452, allocations: 207.4 kB / 0.6637 GB, free: 6.793 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7453, allocations: 0 / 0.6637 GB, free: 6.793 MB / 494.1 MB Notification: Performance of Templates: time 0.1229/0.8681, allocations: 33.35 MB / 0.6963 GB, free: 5.648 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.sim & ./PlanarMechanics_PlanarMechanics.Examples.KinematicLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.753360802307725]