Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001774/0.001774, allocations: 121.9 kB / 18.5 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 219.2 kB / 21.46 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2405/0.2405, allocations: 46.89 MB / 357.4 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 77.06 kB / 0.4912 GB, free: 26.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1298, allocations: 65.98 MB / 0.5557 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01261/0.1424, allocations: 10.29 MB / 0.5657 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008757/0.1511, allocations: 3.818 MB / 0.5694 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.1531, allocations: 55.81 kB / 0.5695 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004382/0.1575, allocations: 1.974 MB / 0.5714 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005044/0.1625, allocations: 1.669 MB / 0.573 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.1644, allocations: 0.6043 MB / 0.5736 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005612/0.17, allocations: 3.372 MB / 0.5769 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003159/0.1732, allocations: 2.201 MB / 0.5791 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.1754, allocations: 1.238 MB / 0.5803 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/0.1784, allocations: 1.814 MB / 0.5821 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007376/0.1791, allocations: 252 kB / 0.5823 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.1814, allocations: 1.049 MB / 0.5833 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001852/0.1832, allocations: 1.597 MB / 0.5849 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.1857, allocations: 1.813 MB / 0.5867 GB, free: 9.203 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008148/0.1938, allocations: 5.82 MB / 0.5923 GB, free: 3.359 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.1938, allocations: 0 / 0.5923 GB, free: 3.359 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1938, allocations: 3.938 kB / 0.5923 GB, free: 3.355 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002438/0.1941, allocations: 0 / 0.5923 GB, free: 3.355 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01001/0.2041, allocations: 4.126 MB / 0.5964 GB, free: 15.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.2041, allocations: 8.031 kB / 0.5964 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009424/0.2051, allocations: 0.6043 MB / 0.597 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006429/0.2115, allocations: 1.808 MB / 0.5987 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005619/0.2171, allocations: 2.155 MB / 0.6008 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.2173, allocations: 192.2 kB / 0.601 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007472/0.2181, allocations: 259.8 kB / 0.6013 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.2341, allocations: 8.447 MB / 0.6095 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001806/0.2343, allocations: 43.64 kB / 0.6096 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005955/0.2349, allocations: 123.9 kB / 0.6097 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2554/0.4903, allocations: 1.695 MB / 0.6113 GB, free: 45.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01626/0.5065, allocations: 7.111 MB / 0.6183 GB, free: 44.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04134/0.5479, allocations: 34.08 MB / 0.6516 GB, free: 18.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006473/0.5544, allocations: 3.183 MB / 0.6547 GB, free: 17.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.556, allocations: 1.363 MB / 0.656 GB, free: 16.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006637/0.5626, allocations: 4.456 MB / 0.6604 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.476e-05/0.5627, allocations: 47.06 kB / 0.6604 GB, free: 12.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 4.689e-06/0.5627, allocations: 0 / 0.6604 GB, free: 12.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.02499/0.5877, allocations: 11.74 MB / 0.6719 GB, free: 1.121 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.5878, allocations: 166.9 kB / 0.672 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005224/0.593, allocations: 3.731 MB / 0.6757 GB, free: 13.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002529/0.5932, allocations: 45.7 kB / 0.6757 GB, free: 13.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002382/0.5956, allocations: 2.867 MB / 0.6785 GB, free: 10.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007169/0.5963, allocations: 0.542 MB / 0.679 GB, free: 9.809 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/0.5978, allocations: 1.084 MB / 0.6801 GB, free: 8.715 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.598, allocations: 305.1 kB / 0.6804 GB, free: 8.414 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002699/0.6007, allocations: 1.697 MB / 0.682 GB, free: 6.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005743/0.6064, allocations: 5.123 MB / 0.6871 GB, free: 15.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009763/0.6162, allocations: 7.403 MB / 0.6943 GB, free: 6.746 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/0.6163, allocations: 40.75 kB / 0.6943 GB, free: 6.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01344/0.6297, allocations: 6.732 MB / 0.7009 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.6299, allocations: 56 kB / 0.7009 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001905/0.63, allocations: 127.9 kB / 0.7011 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007237/0.6308, allocations: 324.6 kB / 0.7014 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004158/0.6349, allocations: 1.236 MB / 0.7026 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/0.6381, allocations: 2.501 MB / 0.705 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00396/0.642, allocations: 291.6 kB / 0.7053 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/0.6431, allocations: 336 kB / 0.7056 GB, free: 10.98 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003981/0.6471, allocations: 1.791 MB / 0.7074 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000907/0.648, allocations: 321.8 kB / 0.7077 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005545/0.6535, allocations: 2.359 MB / 0.71 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-05/0.6536, allocations: 19.52 kB / 0.71 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/0.6536, allocations: 10 kB / 0.71 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.885e-05/0.6536, allocations: 7.969 kB / 0.71 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/0.6699, allocations: 5.908 MB / 0.7158 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.6699, allocations: 4 kB / 0.7158 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008878/0.6708, allocations: 179.7 kB / 0.716 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002216/0.673, allocations: 0.7108 MB / 0.7167 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/0.6732, allocations: 20 kB / 0.7167 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007069/0.6803, allocations: 4.822 MB / 0.7214 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6803, allocations: 0 / 0.7214 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008155/0.6884, allocations: 4.35 MB / 0.7256 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.6897, allocations: 378.8 kB / 0.726 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00083/0.6906, allocations: 20 kB / 0.726 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.6923, allocations: 67.91 kB / 0.7261 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.6926, allocations: 76.56 kB / 0.7262 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/0.6927, allocations: 39.66 kB / 0.7262 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005577/0.6983, allocations: 2.327 MB / 0.7285 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6983, allocations: 3.844 kB / 0.7285 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005305/0.7036, allocations: 0.8007 MB / 0.7292 GB, free: 2.559 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.009075/0.7127, allocations: 4.975 MB / 0.7341 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007686/0.7204, allocations: 3.885 MB / 0.7379 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.7204, allocations: 0 / 0.7379 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.7223, allocations: 1.038 MB / 0.7389 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/0.7258, allocations: 399.2 kB / 0.7393 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07259/0.7984, allocations: 37.73 MB / 0.7761 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005447/0.8039, allocations: 2.773 MB / 0.7788 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00501/0.8089, allocations: 1.66 MB / 0.7805 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003419/0.8123, allocations: 1.522 MB / 0.782 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of SimCode: time 1.914e-06/0.8123, allocations: 0 / 0.782 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.13/0.9422, allocations: 58.01 MB / 0.8386 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.56/24.5, allocations: 4 kB / 0.8386 GB, free: 13.68 MB / 0.6387 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.584034045226872] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 24.626871450804174 24.645236776 24.447842224 Calling exit ...