Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.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.0008918/0.0008918, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002266, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006863/0.0006863, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001252/0.001938, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.023/1.023, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08406/1.107, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.05446/0.05446, allocations: 7.179 MB / 251.3 MB, free: 7.762 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004325/0.05878, allocations: 2.561 MB / 253.9 MB, free: 5.195 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") translateModel(PlanarMechanics.Examples.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 255.2 MB, free: 3.91 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.403e-05, allocations: 2.312 kB / 255.2 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.009459/0.009473, allocations: 13.17 MB / 268.3 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007857/0.01733, allocations: 4.243 MB / 272.6 MB, free: 2.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.01878, allocations: 59.75 kB / 272.6 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006703/0.01945, allocations: 412.6 kB / 273 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.02109, allocations: 0.9393 MB / 274 MB, free: 1.008 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.02217, allocations: 0.9746 MB / 274.9 MB, free: 32 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1159/0.1381, allocations: 2.271 MB / 277.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.14, allocations: 2.086 MB / 279.3 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.1417, allocations: 1.654 MB / 281 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.1431, allocations: 1.089 MB / 282 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005557/0.1437, allocations: 311.6 kB / 282.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1447, allocations: 0.7369 MB / 283.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000577/0.1453, allocations: 0.8568 MB / 283.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008408/0.1461, allocations: 0.8078 MB / 284.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.1482, allocations: 2.382 MB / 287.1 MB, free: 0.707 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.1482, allocations: 0 / 287.1 MB, free: 0.707 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1482, allocations: 0.875 kB / 287.1 MB, free: 0.707 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.408e-05/0.1483, allocations: 0 / 287.1 MB, free: 0.707 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 869 * Number of variables: 869 Notification: Performance of Generate backend data structure: time 0.004904/0.1532, allocations: 4.121 MB / 291.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.1532, allocations: 11.58 kB / 291.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004515/0.1537, allocations: 419.5 kB / 291.7 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.1548, allocations: 0.7633 MB / 292.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.1549, allocations: 215.5 kB / 292.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/0.1551, allocations: 287.2 kB / 292.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/0.1585, allocations: 3.127 MB / 296.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.428e-05/0.1586, allocations: 34.89 kB / 296.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.1587, allocations: 136.5 kB / 296.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003199/0.1591, allocations: 411.2 kB / 296.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.1612, allocations: 1.399 MB / 298 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.1735, allocations: 17.97 MB / 316 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.1758, allocations: 1.008 MB / 317 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.1761, allocations: 262.6 kB / 317.3 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003155/0.1793, allocations: 2.354 MB / 319.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1793, allocations: 43.56 kB / 319.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 2.866e-06/0.1793, allocations: 0 / 319.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.01098/0.1903, allocations: 5.731 MB / 325.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1903, allocations: 75.72 kB / 325.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.1914, allocations: 1.474 MB / 326.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.1914, allocations: 49.7 kB / 327 MB, free: 14.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006276/0.1921, allocations: 1.749 MB / 328.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.1923, allocations: 0.5442 MB / 329.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008077/0.1931, allocations: 0.7169 MB / 330 MB, free: 11.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.1932, allocations: 343.2 kB / 330.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.1937, allocations: 436.8 kB / 330.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.1952, allocations: 2.595 MB / 333.4 MB, free: 7.277 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/0.1978, allocations: 3.828 MB / 337.2 MB, free: 2.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-05/0.1978, allocations: 24 kB / 337.2 MB, free: 2.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.003051/0.2008, allocations: 2.751 MB / 340 MB, free: 364 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.2009, allocations: 39.98 kB / 340 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.841e-05/0.2009, allocations: 83.94 kB / 340.1 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000476/0.2014, allocations: 271.9 kB / 340.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.2029, allocations: 0.9631 MB / 341.3 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.2051, allocations: 2.524 MB / 343.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.2063, allocations: 159.9 kB / 344 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.2064, allocations: 204 kB / 344.2 MB, free: 12.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 18 (revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (466): * Single equations (assignments): 465 * Array equations: 0 * 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 {(2,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006649/0.2071, allocations: 430.3 kB / 344.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.2073, allocations: 147.8 kB / 344.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.2085, allocations: 1.065 MB / 345.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.2086, allocations: 16 kB / 345.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2086, allocations: 7.938 kB / 345.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.2086, allocations: 7.969 kB / 345.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004077/0.2126, allocations: 2.968 MB / 348.8 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.2127, allocations: 7.938 kB / 348.8 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/0.2132, allocations: 235.7 kB / 349 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.2134, allocations: 152.4 kB / 349.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/0.2138, allocations: 201.9 kB / 349.4 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.2138, allocations: 24 kB / 349.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.2157, allocations: 1.885 MB / 351.3 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.2157, allocations: 7.938 kB / 351.3 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.2176, allocations: 1.487 MB / 352.8 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.2177, allocations: 35.92 kB / 352.8 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.2182, allocations: 28 kB / 352.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.2184, allocations: 100.7 kB / 353 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/0.2184, allocations: 31.98 kB / 353 MB, free: 3.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000561/0.219, allocations: 0.5685 MB / 353.6 MB, free: 2.727 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.219, allocations: 0 / 353.6 MB, free: 2.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002551/0.2216, allocations: 0.625 MB / 354.2 MB, free: 2.102 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (121): * Single equations (assignments): 120 * Array equations: 0 * 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 {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002027/0.2218, allocations: 120.9 kB / 354.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.2242, allocations: 1.921 MB / 356.2 MB, free: 112 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001271/0.2243, allocations: 59.31 kB / 356.3 MB, free: 52 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008577/0.2252, allocations: 0.686 MB / 357 MB, free: 15.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.2274, allocations: 2.511 MB / 359.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.2377, allocations: 4.261 MB / 363.7 MB, free: 8.137 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.2383, allocations: 0.5559 MB / 364.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001089/0.2394, allocations: 299.4 kB / 364.6 MB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008743/0.2402, allocations: 385.2 kB / 365 MB, free: 6.879 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2402, allocations: 4 kB / 365 MB, free: 6.875 MB / 346.7 MB Notification: Performance of Templates: time 0.03723/0.2775, allocations: 25.01 MB / 390 MB, free: 14.03 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.MeasureDemo -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9428787510842085]