Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008488/0.0008488, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 172.3 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.344/0.344, allocations: 43.56 MB / 314.6 MB, free: 8.977 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004627, allocations: 12 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1117, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.239/0.3507, allocations: 27.14 MB / 470 MB, free: 35.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.3647, allocations: 6.434 MB / 476.5 MB, free: 31.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005273/0.3701, allocations: 116.5 kB / 476.6 MB, free: 31.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003338/0.3734, allocations: 1.29 MB / 477.9 MB, free: 30.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.3841, allocations: 4.009 MB / 481.9 MB, free: 29.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.386, allocations: 419.3 kB / 482.3 MB, free: 29.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004956/0.391, allocations: 3.951 MB / 486.2 MB, free: 27.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003192/0.3942, allocations: 2.268 MB / 488.5 MB, free: 26.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.3958, allocations: 1.055 MB / 489.6 MB, free: 26.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.3976, allocations: 1.696 MB / 491.2 MB, free: 26.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.3979, allocations: 133.8 kB / 491.4 MB, free: 26.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.3994, allocations: 0.7536 MB / 492.1 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001674/0.4011, allocations: 1.495 MB / 493.6 MB, free: 25.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007865/0.4019, allocations: 0.7624 MB / 494.4 MB, free: 24.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006603/0.4085, allocations: 4.815 MB / 499.2 MB, free: 23.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.4086, allocations: 4 kB / 499.2 MB, free: 23.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4086, allocations: 0 / 499.2 MB, free: 23.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001991/0.4088, allocations: 0 / 499.2 MB, free: 23.84 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.008056/0.4168, allocations: 3.538 MB / 0.491 GB, free: 21.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4169, allocations: 11.75 kB / 0.491 GB, free: 21.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001099/0.418, allocations: 0.7234 MB / 0.4917 GB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009641/0.4277, allocations: 3.179 MB / 0.4948 GB, free: 19.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/0.4315, allocations: 2.321 MB / 0.4971 GB, free: 18.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.4317, allocations: 197.5 kB / 0.4972 GB, free: 18.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005062/0.4322, allocations: 256.5 kB / 0.4975 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.448, allocations: 10.69 MB / 0.5079 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.957e-05/0.4482, allocations: 29.28 kB / 0.508 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003585/0.4485, allocations: 123.3 kB / 0.5081 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003874/0.4524, allocations: 2.642 MB / 0.5107 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.4666, allocations: 9.99 MB / 0.5204 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05054/0.5171, allocations: 35.3 MB / 0.5549 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009755/0.5269, allocations: 5.172 MB / 0.5599 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003228/0.5302, allocations: 2.287 MB / 0.5622 GB, free: 4.508 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/0.5317, allocations: 1.88 MB / 0.564 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.5318, allocations: 52.78 kB / 0.564 GB, free: 2.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 6.062e-06/0.5318, allocations: 0 / 0.564 GB, free: 2.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03024/0.5621, allocations: 14.01 MB / 0.5777 GB, free: 4.172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.5621, allocations: 73.41 kB / 0.5778 GB, free: 4.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003699/0.5659, allocations: 2.673 MB / 0.5804 GB, free: 1.395 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.566, allocations: 61.69 kB / 0.5805 GB, free: 1.328 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.5678, allocations: 2.705 MB / 0.5831 GB, free: 14.58 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008124/0.5686, allocations: 0.8517 MB / 0.5839 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.5689, allocations: 104 kB / 0.584 GB, free: 13.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003239/0.5692, allocations: 0.5369 MB / 0.5846 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003065/0.5723, allocations: 2.185 MB / 0.5867 GB, free: 10.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00499/0.5773, allocations: 5.107 MB / 0.5917 GB, free: 4.344 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005008/0.5823, allocations: 3.338 MB / 0.5949 GB, free: 1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.964e-05/0.5824, allocations: 31.94 kB / 0.595 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01535/0.5978, allocations: 7.883 MB / 0.6027 GB, free: 9.074 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.5979, allocations: 48 kB / 0.6027 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002034/0.5982, allocations: 105.7 kB / 0.6028 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002508/0.6007, allocations: 0.8129 MB / 0.6036 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005593/0.6063, allocations: 1.197 MB / 0.6048 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005697/0.612, allocations: 4.209 MB / 0.6089 GB, free: 2.562 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/0.6157, allocations: 291.8 kB / 0.6092 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009704/0.6167, allocations: 304 kB / 0.6095 GB, free: 1.98 MB / 478.1 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.004754/0.6215, allocations: 2.059 MB / 0.6115 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/0.6221, allocations: 264.5 kB / 0.6117 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008035/0.6301, allocations: 4.71 MB / 0.6163 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.953e-05/0.6302, allocations: 40 kB / 0.6164 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.6303, allocations: 8 kB / 0.6164 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/0.6303, allocations: 11.95 kB / 0.6164 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01907/0.6494, allocations: 10.59 MB / 0.6267 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/0.6494, allocations: 8 kB / 0.6267 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2365/0.8859, allocations: 356.7 kB / 0.6271 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.8879, allocations: 0.6522 MB / 0.6277 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003473/0.8882, allocations: 44.91 kB / 0.6277 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/0.8922, allocations: 3.653 MB / 0.6313 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.8922, allocations: 12.12 kB / 0.6313 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009233/0.9014, allocations: 7.113 MB / 0.6383 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.9029, allocations: 0.6525 MB / 0.6389 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/0.9032, allocations: 41.33 kB / 0.6389 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.9043, allocations: 144.2 kB / 0.6391 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/0.9045, allocations: 138 kB / 0.6392 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.9047, allocations: 59.41 kB / 0.6393 GB, free: 138.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002447/0.9071, allocations: 1.628 MB / 0.6409 GB, free: 137.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.9071, allocations: 0 / 0.6409 GB, free: 137.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004553/0.9117, allocations: 0.9441 MB / 0.6418 GB, free: 137.6 MB / 494.1 MB 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.008961/0.9207, allocations: 7.76 MB / 0.6494 GB, free: 134.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008628/0.9293, allocations: 5.344 MB / 0.6546 GB, free: 132.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.9294, allocations: 2.469 kB / 0.6546 GB, free: 132.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.932, allocations: 2.018 MB / 0.6566 GB, free: 132 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/0.9348, allocations: 339.3 kB / 0.6569 GB, free: 131.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06444/0.9993, allocations: 29.6 MB / 0.6858 GB, free: 113.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005749/1.005, allocations: 3.228 MB / 0.6889 GB, free: 111.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004933/1.01, allocations: 1.967 MB / 0.6909 GB, free: 110.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003314/1.013, allocations: 1.762 MB / 0.6926 GB, free: 108.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.403e-06/1.013, allocations: 0 / 0.6926 GB, free: 108.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08792/1.101, allocations: 64.27 MB / 0.7553 GB, free: 45.39 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/1.102, allocations: 198.8 kB / 0.7555 GB, free: 45.15 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.277/4.378, allocations: 4 kB / 0.7555 GB, free: 45.15 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat