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.0008254/0.0008254, 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.0008163/0.0008163, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8997/0.8997, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.02792/0.02792, allocations: 7.12 MB / 266.3 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: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestAirDrag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestAirDrag",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 392.4 MB, free: 3.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.143e-05, allocations: 2.281 kB / 392.4 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.006103/0.006134, allocations: 7.242 MB / 399.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.0111, allocations: 2.581 MB / 402.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.01233, allocations: 35.88 kB / 402.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.01334, allocations: 361.6 kB / 402.6 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003309/0.01665, allocations: 1.298 MB / 403.9 MB, free: 8.414 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007235/0.01737, allocations: 263.5 kB / 404.2 MB, free: 8.156 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002509/0.01988, allocations: 2.471 MB / 406.6 MB, free: 5.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.02096, allocations: 0.8966 MB / 407.5 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.02246, allocations: 1.364 MB / 408.9 MB, free: 3.383 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.02382, allocations: 1.321 MB / 410.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003718/0.0242, allocations: 248 kB / 410.4 MB, free: 1.816 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009687/0.02517, allocations: 0.7411 MB / 411.2 MB, free: 1.074 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1518/0.1769, allocations: 1.246 MB / 412.4 MB, free: 17.96 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.1783, allocations: 0.8385 MB / 413.3 MB, free: 17.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005986/0.1843, allocations: 4.924 MB / 418.2 MB, free: 17.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1843, allocations: 4.594 kB / 418.2 MB, free: 17.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1843, allocations: 0 / 418.2 MB, free: 17.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001855/0.1845, allocations: 0 / 418.2 MB, free: 17.74 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.009447/0.194, allocations: 3.596 MB / 421.8 MB, free: 16.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.194, allocations: 13.08 kB / 421.8 MB, free: 16.41 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001043/0.1951, allocations: 0.5235 MB / 422.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00444/0.1995, allocations: 1.844 MB / 424.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.2027, allocations: 1.271 MB / 425.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.2028, allocations: 152.8 kB / 425.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005943/0.2034, allocations: 199.6 kB / 425.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.2137, allocations: 7.527 MB / 433.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-05/0.2138, allocations: 22.86 kB / 433.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.214, allocations: 101.8 kB / 433.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001847/0.2159, allocations: 1.705 MB / 435.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.2268, allocations: 6.757 MB / 441.9 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02548/0.2522, allocations: 21.54 MB / 463.4 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.2546, allocations: 1.57 MB / 465 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/0.2553, allocations: 0.6759 MB / 465.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00373/0.2591, allocations: 2.472 MB / 468.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.2591, allocations: 39.56 kB / 468.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=113): time 3.707e-06/0.2591, allocations: 0 / 468.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=127): time 0.00577/0.2649, allocations: 4.008 MB / 472.2 MB, free: 8.875 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.2649, allocations: 64.41 kB / 472.3 MB, free: 8.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/0.2674, allocations: 2.542 MB / 474.8 MB, free: 6.219 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.2675, allocations: 41.7 kB / 474.9 MB, free: 6.172 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009002/0.2684, allocations: 2.072 MB / 476.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.2687, allocations: 0.4926 MB / 477.4 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008267/0.2695, allocations: 0.7112 MB / 478.1 MB, free: 2.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.2696, allocations: 301.1 kB / 478.4 MB, free: 2.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.2707, allocations: 1.186 MB / 479.6 MB, free: 1.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.2728, allocations: 3.236 MB / 482.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005296/0.2781, allocations: 5.289 MB / 488.1 MB, free: 7.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.707e-05/0.2781, allocations: 20 kB / 488.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.006591/0.2847, allocations: 4.49 MB / 492.6 MB, free: 2.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.2848, allocations: 39.94 kB / 492.7 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.372e-05/0.2848, allocations: 72.09 kB / 492.8 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003935/0.2852, allocations: 245 kB / 493 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.2868, allocations: 0.8044 MB / 493.8 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.2891, allocations: 2.756 MB / 496.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.291, allocations: 191.9 kB / 496.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/0.2913, allocations: 214.4 kB / 496.9 MB, free: 14.13 MB / 394.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 (431): * Single equations (assignments): 426 * 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.002726/0.294, allocations: 1.503 MB / 498.5 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003798/0.2944, allocations: 210.5 kB / 498.7 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.2965, allocations: 1.758 MB / 0.4887 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.296e-05/0.2966, allocations: 23.98 kB / 0.4887 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2966, allocations: 0 / 0.4887 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.2966, allocations: 3.984 kB / 0.4887 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006677/0.3033, allocations: 4.792 MB / 0.4934 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3033, allocations: 4.281 kB / 0.4934 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.3037, allocations: 171.8 kB / 0.4936 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/0.3039, allocations: 124.6 kB / 0.4937 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.304, allocations: 23.98 kB / 0.4937 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.3057, allocations: 2.301 MB / 0.496 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3057, allocations: 4.031 kB / 0.496 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.3084, allocations: 2.713 MB / 0.4986 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007138/0.3091, allocations: 346.5 kB / 0.4989 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.3093, allocations: 20 kB / 0.499 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.3097, allocations: 58.97 kB / 0.499 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3098, allocations: 76.75 kB / 0.4991 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/0.3098, allocations: 43.98 kB / 0.4991 GB, free: 15.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002108/0.3119, allocations: 1.554 MB / 0.5006 GB, free: 14.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3119, allocations: 0 / 0.5006 GB, free: 14.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002423/0.3144, allocations: 0.6015 MB / 0.5012 GB, free: 13.55 MB / 410.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 (94): * Single equations (assignments): 89 * 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.003093/0.3175, allocations: 3.353 MB / 0.5045 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003984/0.3214, allocations: 2.758 MB / 0.5072 GB, free: 7.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3214, allocations: 0 / 0.5072 GB, free: 7.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009028/0.3224, allocations: 0.8362 MB / 0.508 GB, free: 6.547 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.3238, allocations: 386.6 kB / 0.5084 GB, free: 6.184 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03055/0.3544, allocations: 25.36 MB / 0.5331 GB, free: 10.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/0.3566, allocations: 1.906 MB / 0.535 GB, free: 8.242 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001759/0.3584, allocations: 1.081 MB / 0.5361 GB, free: 7.156 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/0.3599, allocations: 1.199 MB / 0.5372 GB, free: 5.957 MB / 442.7 MB Notification: Performance of SimCode: time 1.453e-06/0.3599, allocations: 0 / 0.5372 GB, free: 5.957 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2094/0.5693, allocations: 43.37 MB / 0.5796 GB, free: 159.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.84/9.409, allocations: 7.516 kB / 0.5796 GB, free: 159.5 MB / 474.7 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestAirDrag_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestAirDrag.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.18777184933424] Failed to read output from testmodel.py, exit status != 0: 9.512343189679086 9.520972049 9.335008502 Calling exit ...