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.0007291/0.0007291, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007787/0.0007787, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8803/0.8803, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 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.02631/0.02631, allocations: 7.118 MB / 267.1 MB, free: 6.324 MB / 250.7 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.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 2.244e-06/2.244e-06, allocations: 0 / 393.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/3.008e-05, allocations: 2.281 kB / 393.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.009248/0.009278, allocations: 11.88 MB / 405.5 MB, free: 7.574 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007735/0.01701, allocations: 3.937 MB / 409.5 MB, free: 3.625 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.01922, allocations: 59.81 kB / 409.5 MB, free: 3.566 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.02058, allocations: 400.6 kB / 409.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.02316, allocations: 0.9628 MB / 410.9 MB, free: 2.203 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.02476, allocations: 0.9903 MB / 411.9 MB, free: 1.211 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1667/0.1915, allocations: 2.273 MB / 414.1 MB, free: 16.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.1937, allocations: 2.006 MB / 416.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.1955, allocations: 1.599 MB / 417.7 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.1968, allocations: 0.9867 MB / 418.7 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003809/0.1972, allocations: 311 kB / 419 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.1983, allocations: 0.7313 MB / 419.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007007/0.199, allocations: 0.9945 MB / 420.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008559/0.1999, allocations: 0.9696 MB / 421.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00371/0.2036, allocations: 3.944 MB / 425.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2036, allocations: 1.156 kB / 425.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2036, allocations: 1.281 kB / 425.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001023/0.2037, allocations: 3 kB / 425.7 MB, free: 13.76 MB / 330.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.007918/0.2116, allocations: 4.222 MB / 429.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2117, allocations: 9.875 kB / 429.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/0.2122, allocations: 311.4 kB / 430.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.2136, allocations: 1.078 MB / 431.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.2137, allocations: 210.7 kB / 431.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002998/0.214, allocations: 304 kB / 431.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005521/0.2195, allocations: 4.749 MB / 436.5 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.873e-05/0.2196, allocations: 36.83 kB / 436.6 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.2197, allocations: 130.6 kB / 436.7 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000341/0.2201, allocations: 428.9 kB / 437.1 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004296/0.2244, allocations: 3.379 MB / 440.5 MB, free: 6.098 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/0.2401, allocations: 20.31 MB / 460.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.2431, allocations: 1.531 MB / 462.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007481/0.2439, allocations: 0.6741 MB / 463 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003957/0.2478, allocations: 3.445 MB / 466.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2479, allocations: 42.38 kB / 466.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 3.878e-06/0.2479, allocations: 0 / 466.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=140): time 0.014/0.2619, allocations: 9.448 MB / 475.9 MB, free: 3.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.2619, allocations: 64.72 kB / 476 MB, free: 2.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.2636, allocations: 1.798 MB / 477.8 MB, free: 1.152 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/0.2637, allocations: 45.7 kB / 477.8 MB, free: 1.102 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007674/0.2644, allocations: 1.802 MB / 479.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003218/0.2648, allocations: 0.5432 MB / 480.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008849/0.2656, allocations: 0.7391 MB / 480.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.2657, allocations: 341.9 kB / 481.3 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.2669, allocations: 1.228 MB / 482.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/0.2691, allocations: 3.412 MB / 485.9 MB, free: 7.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004866/0.2739, allocations: 5.119 MB / 491 MB, free: 2.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.88e-05/0.274, allocations: 24 kB / 491.1 MB, free: 2.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=485) (initialization): time 0.005566/0.2795, allocations: 4.807 MB / 495.9 MB, free: 13.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.2796, allocations: 43.98 kB / 495.9 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.477e-05/0.2797, allocations: 76 kB / 496 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/0.2802, allocations: 364.5 kB / 496.3 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.2818, allocations: 0.897 MB / 497.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00405/0.2859, allocations: 4.119 MB / 0.4896 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.2876, allocations: 215.8 kB / 0.4898 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.2879, allocations: 228 kB / 0.49 GB, free: 7.562 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 352 * 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 (464): * Single equations (assignments): 463 * 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.001413/0.2893, allocations: 0.9312 MB / 0.4909 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.2895, allocations: 182.8 kB / 0.4911 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.2921, allocations: 2.586 MB / 0.4936 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.2921, allocations: 18.81 kB / 0.4936 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2921, allocations: 4 kB / 0.4937 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.2921, allocations: 7.969 kB / 0.4937 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006814/0.299, allocations: 5.77 MB / 0.4993 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.299, allocations: 4 kB / 0.4993 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.2995, allocations: 275.5 kB / 0.4996 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003985/0.2999, allocations: 268 kB / 0.4998 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/0.3, allocations: 28 kB / 0.4998 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002571/0.3026, allocations: 3.292 MB / 0.5031 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3026, allocations: 7.938 kB / 0.5031 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/0.3062, allocations: 3.886 MB / 0.5069 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.3066, allocations: 158.8 kB / 0.507 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.3067, allocations: 24 kB / 0.507 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.3072, allocations: 107.8 kB / 0.5071 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.3073, allocations: 104.7 kB / 0.5072 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.3074, allocations: 36 kB / 0.5073 GB, free: 5.641 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001124/0.3085, allocations: 0.9868 MB / 0.5082 GB, free: 4.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3085, allocations: 4 kB / 0.5082 GB, free: 4.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001912/0.3104, allocations: 0.625 MB / 0.5088 GB, free: 4.031 MB / 410.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.0002061/0.3106, allocations: 131 kB / 0.509 GB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00359/0.3142, allocations: 3.193 MB / 0.5121 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.3142, allocations: 1.438 kB / 0.5121 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.3153, allocations: 1.214 MB / 0.5133 GB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3163, allocations: 435.1 kB / 0.5137 GB, free: 15.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/0.3228, allocations: 5.116 MB / 0.5187 GB, free: 9.875 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.324, allocations: 1.255 MB / 0.5199 GB, free: 8.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/0.3244, allocations: 172.5 kB / 0.5201 GB, free: 8.414 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3244, allocations: 0 / 0.5201 GB, free: 8.414 MB / 426.7 MB Notification: Performance of Templates: time 0.0469/0.3713, allocations: 44.84 MB / 0.5639 GB, free: 11.63 MB / 474.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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.971093002706766] Failed to read output from testmodel.py, exit status != 0: 0.3776472229510546 0.548326098 0.34199939900000004 Calling exit ...