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.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.001247/0.001247, allocations: 110.6 kB / 16.46 MB, free: 6.035 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.001215/0.001215, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.36/1.36, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] 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.04698/0.04698, allocations: 9.238 MB / 311.9 MB, free: 0.7461 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/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: "" <> 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 0.001881/0.001881, allocations: 63.89 kB / 434 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08781/0.08969, allocations: 54.26 MB / 488.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.01012/0.09981, allocations: 8.638 MB / 496.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005028/0.1048, allocations: 2.737 MB / 499.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006861/0.1055, allocations: 35.94 kB / 499.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008177/0.1063, allocations: 377.4 kB / 0.4884 GB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.1093, allocations: 1.436 MB / 0.4898 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.1098, allocations: 175.6 kB / 0.4899 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002862/0.1126, allocations: 2.524 MB / 0.4924 GB, free: 7.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009835/0.1136, allocations: 0.7446 MB / 0.4931 GB, free: 6.961 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.1148, allocations: 0.8988 MB / 0.494 GB, free: 6.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.1166, allocations: 1.432 MB / 0.4954 GB, free: 4.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004301/0.117, allocations: 232 kB / 0.4956 GB, free: 4.395 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.1186, allocations: 0.9244 MB / 0.4965 GB, free: 3.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.1197, allocations: 1.238 MB / 0.4977 GB, free: 2.227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.1213, allocations: 1.573 MB / 0.4993 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005855/0.1271, allocations: 5.073 MB / 0.5042 GB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1271, allocations: 0 / 0.5042 GB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.1271, allocations: 4 kB / 0.5042 GB, free: 11.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.638e-05/0.1272, allocations: 3.938 kB / 0.5042 GB, free: 11.54 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: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01619/0.1434, allocations: 5.115 MB / 0.5092 GB, free: 6.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1435, allocations: 8.031 kB / 0.5092 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008602/0.1443, allocations: 0.5389 MB / 0.5098 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006823/0.1512, allocations: 1.804 MB / 0.5115 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003746/0.1549, allocations: 1.437 MB / 0.5129 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.1551, allocations: 148 kB / 0.5131 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000625/0.1557, allocations: 199.8 kB / 0.5132 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1894/0.3451, allocations: 8.449 MB / 0.5215 GB, free: 30.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.343e-05/0.3452, allocations: 25.45 kB / 0.5215 GB, free: 30.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/0.3455, allocations: 93.11 kB / 0.5216 GB, free: 30.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002722/0.3482, allocations: 1.885 MB / 0.5235 GB, free: 30.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.3623, allocations: 8.121 MB / 0.5314 GB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02593/0.3883, allocations: 25.92 MB / 0.5567 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008368/0.3966, allocations: 2.759 MB / 0.5594 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.3979, allocations: 1.017 MB / 0.5604 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006676/0.4045, allocations: 5.024 MB / 0.5653 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.4046, allocations: 47.88 kB / 0.5653 GB, free: 13.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=155): time 3.557e-06/0.4046, allocations: 0 / 0.5653 GB, free: 13.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=173): time 0.01868/0.4233, allocations: 8.424 MB / 0.5736 GB, free: 4.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.4233, allocations: 68.72 kB / 0.5736 GB, free: 4.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003752/0.4271, allocations: 2.618 MB / 0.5762 GB, free: 1.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.4272, allocations: 53.7 kB / 0.5762 GB, free: 1.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00162/0.4288, allocations: 2.142 MB / 0.5783 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006549/0.4295, allocations: 0.6665 MB / 0.579 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.4306, allocations: 0.8026 MB / 0.5798 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4307, allocations: 312.9 kB / 0.5801 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.4329, allocations: 1.373 MB / 0.5814 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003882/0.4368, allocations: 3.528 MB / 0.5848 GB, free: 7.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006464/0.4433, allocations: 5.315 MB / 0.59 GB, free: 1.637 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.981e-05/0.4433, allocations: 20 kB / 0.5901 GB, free: 1.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.008218/0.4515, allocations: 5.111 MB / 0.595 GB, free: 12.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/0.4516, allocations: 40 kB / 0.5951 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.069e-05/0.4516, allocations: 76.16 kB / 0.5952 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007833/0.4524, allocations: 321.5 kB / 0.5955 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.455, allocations: 0.8968 MB / 0.5963 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/0.4592, allocations: 3.288 MB / 0.5995 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.4614, allocations: 191.9 kB / 0.5997 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003019/0.4617, allocations: 236 kB / 0.6 GB, free: 7.32 MB / 430.1 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.002244/0.4639, allocations: 1.586 MB / 0.6015 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.4643, allocations: 234.4 kB / 0.6017 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/0.4682, allocations: 2.354 MB / 0.604 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-05/0.4683, allocations: 27.98 kB / 0.6041 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4683, allocations: 4 kB / 0.6041 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.4684, allocations: 7.969 kB / 0.6041 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.4792, allocations: 6.202 MB / 0.6101 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.4792, allocations: 0 / 0.6101 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.4802, allocations: 251.7 kB / 0.6104 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006469/0.4808, allocations: 224.8 kB / 0.6106 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.882e-05/0.4809, allocations: 29.09 kB / 0.6106 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/0.4844, allocations: 2.861 MB / 0.6134 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4844, allocations: 7.984 kB / 0.6134 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/0.4898, allocations: 3.593 MB / 0.6169 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00075/0.4906, allocations: 312.6 kB / 0.6172 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.4908, allocations: 36.28 kB / 0.6172 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008184/0.4917, allocations: 67.92 kB / 0.6173 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.4919, allocations: 101.1 kB / 0.6174 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.492, allocations: 51.92 kB / 0.6175 GB, free: 5.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002611/0.4946, allocations: 1.695 MB / 0.6191 GB, free: 3.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4946, allocations: 7.938 kB / 0.6191 GB, free: 3.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002778/0.4973, allocations: 0.7108 MB / 0.6198 GB, free: 2.574 MB / 446.1 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.005854/0.5032, allocations: 4.25 MB / 0.624 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005613/0.5088, allocations: 3.344 MB / 0.6272 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5088, allocations: 320 / 0.6272 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001675/0.5105, allocations: 1.171 MB / 0.6284 GB, free: 9.688 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.5123, allocations: 403.8 kB / 0.6288 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04259/0.5549, allocations: 29.06 MB / 0.6571 GB, free: 9.371 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/0.5577, allocations: 2.594 MB / 0.6597 GB, free: 6.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002736/0.5604, allocations: 1.224 MB / 0.6609 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/0.5621, allocations: 1.327 MB / 0.6622 GB, free: 4.191 MB / 494.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5621, allocations: 0 / 0.6622 GB, free: 4.191 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.6637, allocations: 50.02 MB / 0.711 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.29/17.96, allocations: 7.875 kB / 0.711 GB, free: 2.414 MB / 0.5294 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.620327414013445] Failed to read output from testmodel.py, exit status != 0: 18.06925153080374 18.237180212 18.10773634 Calling exit ...