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.0007494/0.0007494, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007528/0.0007528, allocations: 178.2 kB / 23.21 MB, free: 1.34 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.867/0.867, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.02642/0.02642, allocations: 7.126 MB / 267.1 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: 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 393.6 MB, free: 3.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.173e-05, allocations: 2.281 kB / 393.6 MB, free: 3.488 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.007671/0.007693, allocations: 7.251 MB / 400.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.01096, allocations: 2.585 MB / 403.5 MB, free: 9.602 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/0.01137, allocations: 35.88 kB / 403.5 MB, free: 9.566 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005481/0.01192, allocations: 361.5 kB / 403.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.01343, allocations: 1.298 MB / 405.2 MB, free: 7.906 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.01373, allocations: 267.5 kB / 405.4 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.01544, allocations: 2.468 MB / 407.9 MB, free: 5.172 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007216/0.01617, allocations: 0.8967 MB / 408.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008951/0.01706, allocations: 1.36 MB / 410.1 MB, free: 2.879 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009835/0.01804, allocations: 1.317 MB / 411.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.01823, allocations: 248 kB / 411.7 MB, free: 1.316 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006803/0.01891, allocations: 0.7449 MB / 412.5 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1586/0.1775, allocations: 1.247 MB / 413.7 MB, free: 18.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.1786, allocations: 0.8311 MB / 414.5 MB, free: 18.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004936/0.1836, allocations: 4.922 MB / 419.5 MB, free: 18.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1836, allocations: 0.7031 kB / 419.5 MB, free: 18.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1836, allocations: 0 / 419.5 MB, free: 18.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.937e-05/0.1836, allocations: 1.641 kB / 419.5 MB, free: 18.26 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.005148/0.1888, allocations: 3.596 MB / 423.1 MB, free: 16.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1888, allocations: 12.05 kB / 423.1 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/0.1925, allocations: 1.784 MB / 424.8 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.1942, allocations: 1.274 MB / 426.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-05/0.1943, allocations: 154.7 kB / 426.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.1946, allocations: 204.5 kB / 426.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007108/0.2017, allocations: 7.561 MB / 434 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/0.2018, allocations: 20.22 kB / 434.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.202, allocations: 93.31 kB / 434.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001474/0.2035, allocations: 1.712 MB / 435.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005962/0.2094, allocations: 6.835 MB / 442.7 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.2247, allocations: 20.7 MB / 463.4 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.2268, allocations: 1.521 MB / 464.9 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.2279, allocations: 0.7126 MB / 465.6 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002552/0.2304, allocations: 2 MB / 467.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.2304, allocations: 43.56 kB / 467.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=118): time 4.098e-06/0.2304, allocations: 0 / 467.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=132): time 0.004943/0.2354, allocations: 4.088 MB / 471.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2354, allocations: 64.39 kB / 471.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.2375, allocations: 2.076 MB / 473.9 MB, free: 8.398 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.2375, allocations: 41.7 kB / 473.9 MB, free: 8.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008102/0.2384, allocations: 2.08 MB / 476 MB, free: 6.273 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.2386, allocations: 0.5119 MB / 476.5 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006532/0.2393, allocations: 0.7336 MB / 477.3 MB, free: 5.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.2394, allocations: 341.9 kB / 477.6 MB, free: 4.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.2406, allocations: 1.217 MB / 478.8 MB, free: 3.473 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.243, allocations: 3.261 MB / 482.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004927/0.2479, allocations: 5.392 MB / 487.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.572e-05/0.248, allocations: 20 kB / 487.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.004572/0.2525, allocations: 4.537 MB / 492 MB, free: 4.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.2526, allocations: 36.09 kB / 492.1 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.193e-05/0.2526, allocations: 75.94 kB / 492.1 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/0.2532, allocations: 229.4 kB / 492.3 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.2546, allocations: 0.8226 MB / 493.2 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.2566, allocations: 2.738 MB / 495.9 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.2579, allocations: 196.9 kB / 496.1 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.2581, allocations: 212 kB / 496.3 MB, free: 32 kB / 378.7 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.002011/0.2601, allocations: 1.499 MB / 497.8 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.2603, allocations: 180 kB / 498 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.2624, allocations: 1.786 MB / 499.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.962e-05/0.2624, allocations: 27.98 kB / 499.8 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2624, allocations: 4 kB / 499.8 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.2625, allocations: 7.984 kB / 499.8 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004892/0.2673, allocations: 4.193 MB / 0.4922 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.2673, allocations: 7.703 kB / 0.4922 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.2678, allocations: 175.7 kB / 0.4924 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002158/0.268, allocations: 121 kB / 0.4925 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.268, allocations: 27.98 kB / 0.4925 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.2696, allocations: 2.267 MB / 0.4947 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2696, allocations: 4.062 kB / 0.4947 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/0.2725, allocations: 2.789 MB / 0.4974 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.2729, allocations: 302.7 kB / 0.4977 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.273, allocations: 20 kB / 0.4978 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.2734, allocations: 59.98 kB / 0.4978 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2735, allocations: 79.39 kB / 0.4979 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.2735, allocations: 35.98 kB / 0.4979 GB, free: 2.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001246/0.2748, allocations: 1.216 MB / 0.4991 GB, free: 1.039 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2748, allocations: 0 / 0.4991 GB, free: 1.039 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001988/0.2768, allocations: 0.6054 MB / 0.4997 GB, free: 444 kB / 394.7 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.0002756/0.2771, allocations: 149.9 kB / 0.4998 GB, free: 284 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003118/0.2802, allocations: 2.829 MB / 0.5026 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.2802, allocations: 4.375 kB / 0.5026 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007491/0.2809, allocations: 0.867 MB / 0.5035 GB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.2817, allocations: 265.1 kB / 0.5037 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006719/0.2884, allocations: 6.262 MB / 0.5098 GB, free: 6.008 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.29, allocations: 1.911 MB / 0.5117 GB, free: 4.066 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.2903, allocations: 176.5 kB / 0.5119 GB, free: 3.895 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2903, allocations: 0 / 0.5119 GB, free: 3.895 MB / 410.7 MB Notification: Performance of Templates: time 0.03733/0.3276, allocations: 52.45 MB / 0.5631 GB, free: 15.53 MB / 474.7 MB " [Timeout remaining time 660] 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.360078948549926] Failed to read output from testmodel.py, exit status != 0: 0.33377016615122557 0.340322557 0.15525779 Calling exit ...