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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 158.9 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.389/1.389, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04742/0.04742, allocations: 7.126 MB / 266.9 MB, free: 9.723 MB / 254.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 63.91 kB / 393.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08794/0.09002, allocations: 55.46 MB / 448.8 MB, free: 2.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.01095/0.101, allocations: 9.156 MB / 458 MB, free: 9.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005302/0.1063, allocations: 2.874 MB / 460.9 MB, free: 6.816 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006065/0.1069, allocations: 51.81 kB / 460.9 MB, free: 6.766 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008744/0.1078, allocations: 472.7 kB / 461.4 MB, free: 6.301 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.1108, allocations: 1.63 MB / 463 MB, free: 4.664 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.1113, allocations: 211.7 kB / 463.2 MB, free: 4.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003135/0.1144, allocations: 3 MB / 466.2 MB, free: 1.453 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.1156, allocations: 0.968 MB / 467.2 MB, free: 468 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.1168, allocations: 1.109 MB / 468.3 MB, free: 15.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.1188, allocations: 1.599 MB / 469.9 MB, free: 13.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003976/0.1192, allocations: 279.9 kB / 470.2 MB, free: 13.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.1206, allocations: 0.8036 MB / 471 MB, free: 12.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.1219, allocations: 1.417 MB / 472.4 MB, free: 11.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.1235, allocations: 1.316 MB / 473.7 MB, free: 9.914 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005768/0.1292, allocations: 5.719 MB / 479.4 MB, free: 4.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1292, allocations: 4 kB / 479.4 MB, free: 4.164 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1292, allocations: 0 / 479.4 MB, free: 4.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.88e-05/0.1293, allocations: 4 kB / 479.4 MB, free: 4.16 MB / 446.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.1844/0.3137, allocations: 5.83 MB / 485.3 MB, free: 68.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3137, allocations: 10.44 kB / 485.3 MB, free: 68.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006307/0.32, allocations: 1.932 MB / 487.2 MB, free: 68.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/0.3228, allocations: 1.507 MB / 488.7 MB, free: 67.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.3229, allocations: 186.7 kB / 488.9 MB, free: 67.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.3232, allocations: 247.6 kB / 489.1 MB, free: 67.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009857/0.3331, allocations: 9.292 MB / 498.4 MB, free: 63.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-05/0.3332, allocations: 22.28 kB / 498.5 MB, free: 63.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/0.3335, allocations: 124.1 kB / 498.6 MB, free: 63.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002582/0.336, allocations: 2.081 MB / 0.4889 GB, free: 62.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.3477, allocations: 8.17 MB / 0.4969 GB, free: 60.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02748/0.3752, allocations: 27.47 MB / 0.5237 GB, free: 41.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006985/0.3822, allocations: 2.593 MB / 0.5263 GB, free: 40.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.3837, allocations: 1.025 MB / 0.5273 GB, free: 40.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006549/0.3903, allocations: 3.39 MB / 0.5306 GB, free: 39.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3903, allocations: 54.95 kB / 0.5306 GB, free: 39.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 3.837e-06/0.3903, allocations: 1.344 kB / 0.5306 GB, free: 39.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.02083/0.4112, allocations: 8.318 MB / 0.5387 GB, free: 35.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.4112, allocations: 73.41 kB / 0.5388 GB, free: 35.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/0.4139, allocations: 2.575 MB / 0.5413 GB, free: 32.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.414, allocations: 65.64 kB / 0.5414 GB, free: 32.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009519/0.415, allocations: 2.557 MB / 0.5439 GB, free: 30.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004529/0.4155, allocations: 0.8811 MB / 0.5448 GB, free: 29.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.4165, allocations: 0.9955 MB / 0.5457 GB, free: 28.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.4165, allocations: 360.2 kB / 0.5461 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00214/0.4187, allocations: 1.627 MB / 0.5477 GB, free: 27.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002803/0.4215, allocations: 4.242 MB / 0.5518 GB, free: 21.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005006/0.4265, allocations: 6.37 MB / 0.558 GB, free: 14.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.343e-05/0.4265, allocations: 26.06 kB / 0.558 GB, free: 14.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=659) (initialization): time 0.008223/0.4347, allocations: 6.428 MB / 0.5643 GB, free: 8.117 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.4348, allocations: 48.25 kB / 0.5644 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.075e-05/0.4348, allocations: 88 kB / 0.5645 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.4364, allocations: 0.7028 MB / 0.5651 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.4392, allocations: 1.053 MB / 0.5662 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/0.4513, allocations: 11.56 MB / 0.5775 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/0.4544, allocations: 271.9 kB / 0.5777 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004316/0.4548, allocations: 288 kB / 0.578 GB, free: 9.707 MB / 462.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.00281/0.4577, allocations: 1.788 MB / 0.5797 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/0.4581, allocations: 247.1 kB / 0.58 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00542/0.4635, allocations: 3.065 MB / 0.583 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001277/0.4636, allocations: 35.98 kB / 0.583 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.4636, allocations: 4 kB / 0.583 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.4637, allocations: 7.969 kB / 0.583 GB, free: 4.527 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.4761, allocations: 6.971 MB / 0.5898 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.4761, allocations: 4 kB / 0.5898 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.4773, allocations: 299.6 kB / 0.5901 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.4787, allocations: 0.5351 MB / 0.5906 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.4788, allocations: 40 kB / 0.5907 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.4897, allocations: 9.448 MB / 0.5999 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.4897, allocations: 11.94 kB / 0.5999 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00727/0.497, allocations: 4.614 MB / 0.6044 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/0.4975, allocations: 222.4 kB / 0.6046 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.4977, allocations: 36 kB / 0.6047 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009547/0.4987, allocations: 104.2 kB / 0.6048 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/0.499, allocations: 157.6 kB / 0.6049 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.4991, allocations: 75.97 kB / 0.605 GB, free: 13.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002249/0.5014, allocations: 1.497 MB / 0.6064 GB, free: 11.87 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5014, allocations: 0 / 0.6064 GB, free: 11.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003582/0.5049, allocations: 0.8749 MB / 0.6073 GB, free: 10.99 MB / 494.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.0003531/0.5053, allocations: 186.6 kB / 0.6075 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006953/0.5122, allocations: 4.466 MB / 0.6118 GB, free: 6.312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.5122, allocations: 4.188 kB / 0.6118 GB, free: 6.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002569/0.5148, allocations: 1.805 MB / 0.6136 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.5163, allocations: 321.2 kB / 0.6139 GB, free: 4.145 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.529, allocations: 7.996 MB / 0.6217 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003252/0.5323, allocations: 2.381 MB / 0.624 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003021/0.5353, allocations: 1.327 MB / 0.6253 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.5357, allocations: 184.5 kB / 0.6255 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.5357, allocations: 0 / 0.6255 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of Templates: time 0.05558/0.5913, allocations: 26.65 MB / 0.6515 GB, free: 13.84 MB / 0.5294 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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.152917161001824] Failed to read output from testmodel.py, exit status != 0: 0.59948318998795 0.6137446879999999 0.48145651599999995 Calling exit ...