Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",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.001314/0.001313, allocations: 97.06 kB / 15.69 MB, free: 488 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.001545/0.001545, allocations: 175.6 kB / 16.56 MB, free: 6.375 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.71/1.71, allocations: 205.4 MB / 222.7 MB, free: 5.637 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.3726/0.3726, allocations: 43.54 MB / 314.5 MB, free: 8.824 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.0005431/0.0005436, allocations: 20 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1303, allocations: 58.85 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.27/0.4003, allocations: 32.76 MB / 475.6 MB, free: 31.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01986/0.4202, allocations: 8.119 MB / 483.7 MB, free: 26.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007725/0.428, allocations: 150.5 kB / 483.9 MB, free: 26.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005809/0.4338, allocations: 1.658 MB / 485.5 MB, free: 25.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01645/0.4503, allocations: 4.883 MB / 490.4 MB, free: 23.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.4528, allocations: 462.4 kB / 490.9 MB, free: 23.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004187/0.457, allocations: 2.16 MB / 493 MB, free: 22.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005617/0.4626, allocations: 3.038 MB / 496.1 MB, free: 20.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003418/0.4661, allocations: 0.9783 MB / 497 MB, free: 20.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005239/0.4714, allocations: 1.353 MB / 498.4 MB, free: 20.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00218/0.4736, allocations: 149.4 kB / 498.5 MB, free: 20.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003686/0.4773, allocations: 0.7469 MB / 499.3 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003312/0.4807, allocations: 1.506 MB / 0.4891 GB, free: 19.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002875/0.4836, allocations: 0.8393 MB / 0.4899 GB, free: 18.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.4946, allocations: 5.39 MB / 0.4951 GB, free: 17.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4946, allocations: 0 / 0.4951 GB, free: 17.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4947, allocations: 0 / 0.4951 GB, free: 17.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000349/0.495, allocations: 0 / 0.4951 GB, free: 17.87 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01357/0.5086, allocations: 3.917 MB / 0.499 GB, free: 15.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.5087, allocations: 13.33 kB / 0.499 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002947/0.5116, allocations: 0.7829 MB / 0.4997 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/0.5251, allocations: 3.763 MB / 0.5034 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007451/0.5326, allocations: 2.367 MB / 0.5057 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.533, allocations: 224.9 kB / 0.5059 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002459/0.5355, allocations: 289.9 kB / 0.5062 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02246/0.5579, allocations: 11.4 MB / 0.5173 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/0.5581, allocations: 31.66 kB / 0.5174 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007343/0.5589, allocations: 135.8 kB / 0.5175 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004212/0.5631, allocations: 2.718 MB / 0.5202 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02349/0.5866, allocations: 10.54 MB / 0.5304 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06342/0.6501, allocations: 37.6 MB / 0.5672 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009034/0.6592, allocations: 4.563 MB / 0.5716 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/0.6604, allocations: 1.319 MB / 0.5729 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.6604, allocations: 52.56 kB / 0.573 GB, free: 8.699 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 5.15e-06/0.6604, allocations: 0 / 0.573 GB, free: 8.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.04105/0.7015, allocations: 18.15 MB / 0.5907 GB, free: 6.363 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.7016, allocations: 73.41 kB / 0.5908 GB, free: 6.281 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004348/0.7059, allocations: 2.895 MB / 0.5936 GB, free: 3.375 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006003/0.7066, allocations: 65.64 kB / 0.5937 GB, free: 3.305 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002095/0.7087, allocations: 2.853 MB / 0.5964 GB, free: 420 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001353/0.71, allocations: 0.925 MB / 0.5973 GB, free: 15.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.7103, allocations: 104 kB / 0.5974 GB, free: 15.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000355/0.7107, allocations: 0.5492 MB / 0.598 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003418/0.7141, allocations: 2.302 MB / 0.6002 GB, free: 12.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005366/0.7195, allocations: 5.256 MB / 0.6054 GB, free: 5.797 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00548/0.725, allocations: 3.478 MB / 0.6088 GB, free: 2.312 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-05/0.7251, allocations: 32 kB / 0.6088 GB, free: 2.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01737/0.7425, allocations: 8.317 MB / 0.6169 GB, free: 9.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.228e-05/0.7426, allocations: 51.98 kB / 0.617 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/0.7428, allocations: 104 kB / 0.6171 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002882/0.7456, allocations: 0.9531 MB / 0.618 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005529/0.7512, allocations: 1.24 MB / 0.6192 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00688/0.7581, allocations: 4.935 MB / 0.624 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004205/0.7624, allocations: 311.7 kB / 0.6243 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009547/0.7634, allocations: 312 kB / 0.6246 GB, free: 1.926 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (665): * Single equations (assignments): 658 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2697/1.033, allocations: 2.185 MB / 0.6267 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005622/1.034, allocations: 279.4 kB / 0.627 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008515/1.042, allocations: 5.119 MB / 0.632 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.9e-05/1.042, allocations: 51.19 kB / 0.6321 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.042, allocations: 6.781 kB / 0.6321 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.402e-05/1.042, allocations: 9.844 kB / 0.6321 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02219/1.064, allocations: 11.95 MB / 0.6437 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/1.065, allocations: 9.906 kB / 0.6438 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/1.066, allocations: 400.3 kB / 0.6441 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/1.069, allocations: 0.7768 MB / 0.6449 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002863/1.069, allocations: 50.56 kB / 0.6449 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005121/1.074, allocations: 4.202 MB / 0.649 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-05/1.074, allocations: 20.02 kB / 0.6491 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.09, allocations: 8.454 MB / 0.6573 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/1.092, allocations: 0.6985 MB / 0.658 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004854/1.092, allocations: 46.62 kB / 0.658 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.094, allocations: 148.6 kB / 0.6582 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003035/1.094, allocations: 158.6 kB / 0.6583 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/1.094, allocations: 72.89 kB / 0.6584 GB, free: 129.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00312/1.097, allocations: 1.789 MB / 0.6602 GB, free: 129.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.097, allocations: 0 / 0.6602 GB, free: 129.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006549/1.104, allocations: 1.017 MB / 0.6612 GB, free: 129.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01386/1.118, allocations: 11.66 MB / 0.6725 GB, free: 122 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009147/1.127, allocations: 5.607 MB / 0.678 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.14e-05/1.127, allocations: 7.781 kB / 0.678 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002991/1.13, allocations: 2.148 MB / 0.6801 GB, free: 119.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.132, allocations: 356.4 kB / 0.6805 GB, free: 119.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07203/1.205, allocations: 102.9 MB / 0.781 GB, free: 16.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003881/1.208, allocations: 3.529 MB / 0.7844 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004216/1.213, allocations: 2.003 MB / 0.7864 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002356/1.215, allocations: 1.874 MB / 0.7882 GB, free: 8.824 MB / 494.1 MB Notification: Performance of SimCode: time 1.453e-06/1.215, allocations: 0 / 0.7882 GB, free: 8.824 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3334/1.549, allocations: 70.04 MB / 0.8566 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/1.549, allocations: 204.6 kB / 0.8568 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.913/5.462, allocations: 4 kB / 0.8568 GB, free: 141.9 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat