Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.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.00192/0.00192, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.00253/0.00253, allocations: 213.2 kB / 22.25 MB, free: 5.086 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 8.008 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.04911/0.04911, allocations: 9.224 MB / 321.7 MB, free: 10.15 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.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") translateModel(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") [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.001862/0.001862, allocations: 63.89 kB / 448.2 MB, free: 14.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.139, allocations: 55.48 MB / 0.4919 GB, free: 7.039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.01188/0.1509, allocations: 8.277 MB / 0.5 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007495/0.1584, allocations: 2.729 MB / 0.5026 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.1601, allocations: 39.88 kB / 0.5027 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.1615, allocations: 361.6 kB / 0.503 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.1658, allocations: 1.257 MB / 0.5043 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009772/0.1668, allocations: 267.6 kB / 0.5045 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004768/0.1716, allocations: 2.427 MB / 0.5069 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002077/0.1737, allocations: 0.9008 MB / 0.5078 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002198/0.1759, allocations: 0.8951 MB / 0.5086 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.1788, allocations: 1.44 MB / 0.51 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.1798, allocations: 248 kB / 0.5103 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.1822, allocations: 0.7997 MB / 0.5111 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.1839, allocations: 1.207 MB / 0.5122 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002904/0.1868, allocations: 1.53 MB / 0.5137 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3573/0.5441, allocations: 4.923 MB / 0.5185 GB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.5441, allocations: 0.8438 kB / 0.5185 GB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5441, allocations: 0 / 0.5185 GB, free: 12.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002044/0.5443, allocations: 1.328 kB / 0.5185 GB, free: 12.5 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01121/0.5555, allocations: 3.612 MB / 0.5221 GB, free: 11.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.5555, allocations: 10.53 kB / 0.5221 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007457/0.563, allocations: 1.772 MB / 0.5238 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/0.5673, allocations: 1.263 MB / 0.525 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.5675, allocations: 154.3 kB / 0.5252 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007208/0.5682, allocations: 206.7 kB / 0.5254 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.5857, allocations: 7.557 MB / 0.5328 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/0.586, allocations: 22.77 kB / 0.5328 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009769/0.5869, allocations: 94.64 kB / 0.5329 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003581/0.5905, allocations: 1.71 MB / 0.5345 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/0.6081, allocations: 6.837 MB / 0.5412 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04404/0.6521, allocations: 22.86 MB / 0.5635 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004416/0.6565, allocations: 1.48 MB / 0.565 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.6582, allocations: 0.7199 MB / 0.5657 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006177/0.6644, allocations: 2.237 MB / 0.5679 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.6644, allocations: 39.56 kB / 0.5679 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=118): time 5.781e-06/0.6644, allocations: 4 kB / 0.5679 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=132): time 0.009636/0.6741, allocations: 4.062 MB / 0.5719 GB, free: 10.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.6741, allocations: 72.34 kB / 0.572 GB, free: 10.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005413/0.6795, allocations: 2.412 MB / 0.5743 GB, free: 8.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.6797, allocations: 41.7 kB / 0.5744 GB, free: 7.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002088/0.6818, allocations: 2.072 MB / 0.5764 GB, free: 5.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007172/0.6825, allocations: 0.5205 MB / 0.5769 GB, free: 5.414 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/0.6839, allocations: 0.7346 MB / 0.5776 GB, free: 4.676 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6841, allocations: 301.1 kB / 0.5779 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002475/0.6866, allocations: 1.221 MB / 0.5791 GB, free: 3.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004562/0.6911, allocations: 3.256 MB / 0.5823 GB, free: 14.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009078/0.7002, allocations: 5.391 MB / 0.5875 GB, free: 8.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.726e-05/0.7003, allocations: 20 kB / 0.5875 GB, free: 8.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.009761/0.71, allocations: 4.581 MB / 0.592 GB, free: 4.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.482e-05/0.7101, allocations: 40.06 kB / 0.5921 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/0.7103, allocations: 72 kB / 0.5921 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000723/0.711, allocations: 231.4 kB / 0.5923 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/0.714, allocations: 0.8131 MB / 0.5931 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003833/0.7178, allocations: 2.778 MB / 0.5959 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/0.7208, allocations: 193.2 kB / 0.596 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006419/0.7215, allocations: 216 kB / 0.5962 GB, free: 44 kB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: revolute.w:VARIABLE(start = -5.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.always ) \"Angular velocity\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 328 * Number of states: 0 () * Number of discrete variables: 9 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (436): * Single equations (assignments): 431 * Array equations: 4 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003623/0.7251, allocations: 1.502 MB / 0.5977 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000551/0.7256, allocations: 214.5 kB / 0.5979 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003842/0.7295, allocations: 1.81 MB / 0.5997 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00011/0.7296, allocations: 23.98 kB / 0.5997 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.7296, allocations: 4 kB / 0.5997 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.7296, allocations: 8.719 kB / 0.5997 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.7421, allocations: 5.155 MB / 0.6048 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.7421, allocations: 4 kB / 0.6048 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008423/0.743, allocations: 181.5 kB / 0.6049 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004043/0.7434, allocations: 125.3 kB / 0.605 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/0.7435, allocations: 31.05 kB / 0.6051 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002973/0.7465, allocations: 2.305 MB / 0.6073 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.7465, allocations: 6.656 kB / 0.6073 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00505/0.7515, allocations: 2.83 MB / 0.6101 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.7529, allocations: 354.5 kB / 0.6104 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005945/0.7535, allocations: 24.06 kB / 0.6105 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.7545, allocations: 52 kB / 0.6105 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.7547, allocations: 83.94 kB / 0.6106 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.54e-05/0.7548, allocations: 40 kB / 0.6106 GB, free: 1.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003656/0.7584, allocations: 1.551 MB / 0.6121 GB, free: 15.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7584, allocations: 0 / 0.6121 GB, free: 15.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00399/0.7624, allocations: 0.6054 MB / 0.6127 GB, free: 14.88 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (revolute.phi,revolute.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 (99): * Single equations (assignments): 94 * Array equations: 4 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004788/0.7629, allocations: 153.8 kB / 0.6129 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005847/0.7688, allocations: 2.833 MB / 0.6156 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7688, allocations: 0 / 0.6156 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.7703, allocations: 0.8561 MB / 0.6165 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.7729, allocations: 393.7 kB / 0.6169 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/0.789, allocations: 6.047 MB / 0.6228 GB, free: 4.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004123/0.7931, allocations: 2.47 MB / 0.6252 GB, free: 2.074 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002981/0.7961, allocations: 1.101 MB / 0.6263 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005574/0.7966, allocations: 155.4 kB / 0.6264 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of SimCode: time 1.423e-06/0.7966, allocations: 0 / 0.6264 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of Templates: time 0.05958/0.8562, allocations: 25.93 MB / 0.6517 GB, free: 7.082 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.364973312942311] Failed to read output from testmodel.py, exit status != 0: 0.8662754080723971 0.884851756 0.337139283 Calling exit ...