Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001634, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001198/0.001197, allocations: 98.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2874/0.2874, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004644, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1247, allocations: 58.86 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.03929/0.1641, allocations: 25.68 MB / 0.5039 GB, free: 15.49 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01819/0.1823, allocations: 6.664 MB / 0.5104 GB, free: 8.812 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004346/0.1868, allocations: 123.7 kB / 0.5105 GB, free: 8.691 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004464/0.1913, allocations: 1.303 MB / 0.5118 GB, free: 7.383 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0146/0.2059, allocations: 3.939 MB / 0.5156 GB, free: 3.434 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.2083, allocations: 407.3 kB / 0.516 GB, free: 3.035 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004726/0.213, allocations: 2 MB / 0.518 GB, free: 1.031 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3399/0.553, allocations: 2.256 MB / 0.5202 GB, free: 11.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.5554, allocations: 0.8864 MB / 0.5211 GB, free: 11.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.5586, allocations: 1.223 MB / 0.5222 GB, free: 11.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.5597, allocations: 134.9 kB / 0.5224 GB, free: 11.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.5626, allocations: 0.733 MB / 0.5231 GB, free: 11.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002861/0.5655, allocations: 1.393 MB / 0.5245 GB, free: 11.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.5673, allocations: 0.7629 MB / 0.5252 GB, free: 11.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009108/0.5764, allocations: 4.81 MB / 0.5299 GB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5765, allocations: 4 kB / 0.5299 GB, free: 11.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.5765, allocations: 0 / 0.5299 GB, free: 11.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002576/0.5768, allocations: 0 / 0.5299 GB, free: 11.24 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01203/0.5888, allocations: 3.586 MB / 0.5334 GB, free: 9.484 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.5889, allocations: 9.281 kB / 0.5334 GB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002909/0.5918, allocations: 0.7289 MB / 0.5341 GB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02324/0.6151, allocations: 3.733 MB / 0.5378 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007544/0.6227, allocations: 2.128 MB / 0.5398 GB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000319/0.623, allocations: 195.5 kB / 0.54 GB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00197/0.625, allocations: 254.2 kB / 0.5403 GB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02663/0.6517, allocations: 10.75 MB / 0.5508 GB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/0.6519, allocations: 34.17 kB / 0.5508 GB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007687/0.6527, allocations: 121.4 kB / 0.5509 GB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007669/0.6603, allocations: 2.64 MB / 0.5535 GB, free: 3.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03143/0.6918, allocations: 10.08 MB / 0.5633 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0832/0.7751, allocations: 35.37 MB / 0.5979 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/0.7919, allocations: 5.179 MB / 0.6029 GB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00277/0.7947, allocations: 1.88 MB / 0.6048 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/0.7948, allocations: 52.56 kB / 0.6048 GB, free: 3.055 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 9.478e-06/0.7948, allocations: 0 / 0.6048 GB, free: 3.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.05846/0.8533, allocations: 14.55 MB / 0.619 GB, free: 4.367 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.8534, allocations: 69.41 kB / 0.6191 GB, free: 4.285 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005924/0.8593, allocations: 2.788 MB / 0.6218 GB, free: 1.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006503/0.86, allocations: 57.45 kB / 0.6219 GB, free: 1.422 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002748/0.8628, allocations: 2.699 MB / 0.6245 GB, free: 14.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001658/0.8645, allocations: 0.8577 MB / 0.6254 GB, free: 13.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005103/0.865, allocations: 100 kB / 0.6254 GB, free: 13.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004957/0.8655, allocations: 0.5419 MB / 0.626 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005784/0.8713, allocations: 2.189 MB / 0.6281 GB, free: 11.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008925/0.8803, allocations: 5.079 MB / 0.6331 GB, free: 4.574 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008755/0.8891, allocations: 3.339 MB / 0.6363 GB, free: 1.324 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/0.8893, allocations: 31.78 kB / 0.6364 GB, free: 1.297 MB / 442.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.02455/0.9138, allocations: 7.826 MB / 0.644 GB, free: 9.492 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.914, allocations: 54 kB / 0.6441 GB, free: 9.441 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/0.9142, allocations: 100 kB / 0.6442 GB, free: 9.344 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004364/0.9186, allocations: 0.7967 MB / 0.6449 GB, free: 8.543 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008242/0.9269, allocations: 1.201 MB / 0.6461 GB, free: 7.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.9372, allocations: 4.293 MB / 0.6503 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005979/0.9433, allocations: 299.8 kB / 0.6506 GB, free: 2.617 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/0.945, allocations: 311.6 kB / 0.6509 GB, free: 2.316 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (640): * Single equations (assignments): 633 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007585/0.9526, allocations: 2.055 MB / 0.6529 GB, free: 252 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008749/0.9535, allocations: 268.4 kB / 0.6531 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/0.9706, allocations: 4.717 MB / 0.6578 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001332/0.9707, allocations: 39.98 kB / 0.6578 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.9708, allocations: 4 kB / 0.6578 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.637e-05/0.9708, allocations: 7.969 kB / 0.6578 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03496/1.006, allocations: 10.6 MB / 0.6682 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.283e-05/1.006, allocations: 11.94 kB / 0.6682 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003553/1.009, allocations: 359.5 kB / 0.6685 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004104/1.014, allocations: 0.6567 MB / 0.6691 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008123/1.014, allocations: 47.98 kB / 0.6692 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009152/1.024, allocations: 3.743 MB / 0.6728 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-05/1.024, allocations: 15.89 kB / 0.6729 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/1.045, allocations: 7.694 MB / 0.6804 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002833/1.048, allocations: 0.6498 MB / 0.681 GB, free: 2.879 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009853/1.049, allocations: 43.98 kB / 0.6811 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002914/1.052, allocations: 135.9 kB / 0.6812 GB, free: 2.703 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009417/1.053, allocations: 140.5 kB / 0.6813 GB, free: 2.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000289/1.054, allocations: 67.98 kB / 0.6814 GB, free: 2.504 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004965/1.059, allocations: 1.71 MB / 0.6831 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.059, allocations: 0 / 0.6831 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007653/1.066, allocations: 0.9649 MB / 0.684 GB, free: 15.82 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02366/1.09, allocations: 10.11 MB / 0.6939 GB, free: 5.488 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01486/1.105, allocations: 5.346 MB / 0.6991 GB, free: 156 kB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/1.105, allocations: 4 kB / 0.6991 GB, free: 152 kB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005686/1.111, allocations: 2.014 MB / 0.7011 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/1.113, allocations: 316.3 kB / 0.7014 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4462/1.56, allocations: 99.93 MB / 0.7989 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007457/1.567, allocations: 3.321 MB / 0.8022 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004833/1.572, allocations: 1.804 MB / 0.804 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.674e-06/1.572, allocations: 0 / 0.804 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.169/5.741, allocations: 92.15 MB / 0.8939 GB, free: 21.54 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat