Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.0008646/0.0008646, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008408/0.0008408, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.895/0.895, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.02708/0.02708, allocations: 7.123 MB / 266.3 MB, free: 6.312 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: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 392.4 MB, free: 3.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.484e-05, allocations: 2.281 kB / 392.4 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.006906/0.00692, allocations: 7.581 MB / 400 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003844/0.01076, allocations: 2.631 MB / 402.6 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003706/0.01114, allocations: 39.88 kB / 402.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.01172, allocations: 377.4 kB / 403 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.01344, allocations: 1.497 MB / 404.5 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.01369, allocations: 159.6 kB / 404.7 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.01514, allocations: 2.565 MB / 407.2 MB, free: 5.078 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005611/0.0157, allocations: 0.7293 MB / 408 MB, free: 4.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009602/0.01666, allocations: 1.379 MB / 409.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.01771, allocations: 1.321 MB / 410.7 MB, free: 1.613 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.01789, allocations: 232 kB / 410.9 MB, free: 1.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008117/0.0187, allocations: 0.8659 MB / 411.8 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1523/0.171, allocations: 1.259 MB / 413 MB, free: 17.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.1721, allocations: 0.8184 MB / 413.8 MB, free: 17.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00451/0.1766, allocations: 5.05 MB / 418.9 MB, free: 17.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1766, allocations: 1.156 kB / 418.9 MB, free: 17.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1766, allocations: 0 / 418.9 MB, free: 17.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.414e-05/0.1766, allocations: 3.094 kB / 418.9 MB, free: 17.55 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: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.009954/0.1866, allocations: 5.084 MB / 424 MB, free: 16.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1866, allocations: 10.41 kB / 424 MB, free: 16.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004892/0.1871, allocations: 0.5385 MB / 424.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.1909, allocations: 1.885 MB / 426.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.1926, allocations: 1.359 MB / 427.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.1926, allocations: 148.9 kB / 427.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003112/0.1929, allocations: 197.1 kB / 428.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0078/0.2007, allocations: 8.433 MB / 436.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.222e-05/0.2008, allocations: 24.83 kB / 436.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.201, allocations: 98.5 kB / 436.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001508/0.2025, allocations: 1.885 MB / 438.5 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008197/0.2107, allocations: 8.052 MB / 446.6 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/0.2319, allocations: 24.39 MB / 471 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004921/0.2369, allocations: 2.389 MB / 473.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009927/0.2378, allocations: 1.015 MB / 474.4 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003621/0.2415, allocations: 2.905 MB / 477.3 MB, free: 4.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2415, allocations: 50.84 kB / 477.3 MB, free: 4.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=155): time 3.136e-06/0.2415, allocations: 3.938 kB / 477.3 MB, free: 4.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=173): time 0.01104/0.2525, allocations: 8.251 MB / 485.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.2526, allocations: 64.72 kB / 485.7 MB, free: 11.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/0.2551, allocations: 2.726 MB / 488.4 MB, free: 8.914 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/0.2552, allocations: 49.7 kB / 488.4 MB, free: 8.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008874/0.2561, allocations: 2.118 MB / 490.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004771/0.2566, allocations: 0.6569 MB / 491.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007196/0.2573, allocations: 0.7969 MB / 492 MB, free: 5.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.2573, allocations: 301.1 kB / 492.3 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.2588, allocations: 1.363 MB / 493.7 MB, free: 3.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.2613, allocations: 3.529 MB / 497.2 MB, free: 15.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004036/0.2653, allocations: 5.284 MB / 0.4907 GB, free: 8.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-05/0.2654, allocations: 24 kB / 0.4907 GB, free: 8.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.005341/0.2707, allocations: 5.101 MB / 0.4957 GB, free: 3.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.2708, allocations: 39.94 kB / 0.4957 GB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.311e-05/0.2708, allocations: 76 kB / 0.4958 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/0.2714, allocations: 317.5 kB / 0.4961 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.2729, allocations: 0.9008 MB / 0.497 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.2757, allocations: 3.151 MB / 0.5001 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.2772, allocations: 205.2 kB / 0.5003 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/0.2774, allocations: 236 kB / 0.5005 GB, free: 14.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (490): * Single equations (assignments): 484 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002334/0.2798, allocations: 1.572 MB / 0.502 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.28, allocations: 246.5 kB / 0.5023 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/0.2827, allocations: 2.322 MB / 0.5045 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-05/0.2827, allocations: 34.83 kB / 0.5046 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2827, allocations: 0 / 0.5046 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.2827, allocations: 11.97 kB / 0.5046 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006881/0.2896, allocations: 5.852 MB / 0.5103 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.2896, allocations: 8.344 kB / 0.5103 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.2902, allocations: 247.7 kB / 0.5105 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003557/0.2905, allocations: 218.6 kB / 0.5107 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.2906, allocations: 35.98 kB / 0.5108 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.2929, allocations: 2.72 MB / 0.5134 GB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.2929, allocations: 7.938 kB / 0.5134 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/0.2962, allocations: 3.574 MB / 0.5169 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/0.2966, allocations: 246.3 kB / 0.5172 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.2968, allocations: 32 kB / 0.5172 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.2972, allocations: 74.56 kB / 0.5173 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.2974, allocations: 102.6 kB / 0.5174 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-05/0.2974, allocations: 55.98 kB / 0.5174 GB, free: 13.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001759/0.2992, allocations: 1.668 MB / 0.519 GB, free: 11.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2992, allocations: 0 / 0.519 GB, free: 11.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002131/0.3013, allocations: 0.6874 MB / 0.5197 GB, free: 10.69 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.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 (138): * Single equations (assignments): 132 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003939/0.3053, allocations: 4.233 MB / 0.5238 GB, free: 6.395 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003878/0.3091, allocations: 3.255 MB / 0.527 GB, free: 3.145 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3091, allocations: 0 / 0.527 GB, free: 3.145 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.3102, allocations: 1.094 MB / 0.5281 GB, free: 2.035 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.3112, allocations: 383 kB / 0.5285 GB, free: 1.672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02996/0.3412, allocations: 28.8 MB / 0.5566 GB, free: 2.016 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/0.3431, allocations: 2.033 MB / 0.5586 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001899/0.345, allocations: 1.228 MB / 0.5598 GB, free: 14.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.3462, allocations: 1.328 MB / 0.5611 GB, free: 13.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3462, allocations: 0 / 0.5611 GB, free: 13.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1968/0.543, allocations: 50.5 MB / 0.6104 GB, free: 138.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.089/9.632, allocations: 17.88 kB / 0.6104 GB, free: 138.8 MB / 474.7 MB " [Timeout remaining time 650] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.sim & python3 -m fmpy simulate --output-file PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.532472329214215] Failed to read output from testmodel.py, exit status != 0: 9.742000380530953 9.752634127 9.574574069 Calling exit ...