Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_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.0008456/0.0008458, allocations: 95.33 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009264/0.0009266, allocations: 188.6 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1879/0.1879, allocations: 44.23 MB / 337.2 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 8.75 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1025, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.02784/0.1304, allocations: 34.3 MB / 0.4941 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01841/0.1488, allocations: 7.768 MB / 0.5017 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006687/0.1556, allocations: 155.6 kB / 0.5018 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00515/0.1608, allocations: 1.668 MB / 0.5035 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2424/0.4032, allocations: 5.011 MB / 0.5084 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.4054, allocations: 476.3 kB / 0.5088 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006572/0.412, allocations: 4.189 MB / 0.5129 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004733/0.4168, allocations: 3.025 MB / 0.5159 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.4192, allocations: 1.133 MB / 0.517 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/0.4218, allocations: 1.838 MB / 0.5188 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004927/0.4223, allocations: 151.9 kB / 0.5189 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.4241, allocations: 0.7818 MB / 0.5197 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.4255, allocations: 1.588 MB / 0.5212 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.4265, allocations: 0.815 MB / 0.522 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00582/0.4324, allocations: 5.293 MB / 0.5272 GB, free: 8.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4324, allocations: 0 / 0.5272 GB, free: 8.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.4324, allocations: 0 / 0.5272 GB, free: 8.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002295/0.4327, allocations: 1.641 kB / 0.5272 GB, free: 8.473 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.007084/0.4398, allocations: 3.792 MB / 0.5309 GB, free: 6.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4398, allocations: 8.188 kB / 0.5309 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001501/0.4413, allocations: 0.7673 MB / 0.5316 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009546/0.4509, allocations: 3.213 MB / 0.5348 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005122/0.456, allocations: 2.401 MB / 0.5371 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.4562, allocations: 216.5 kB / 0.5373 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008722/0.4571, allocations: 284.3 kB / 0.5376 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/0.4733, allocations: 11.1 MB / 0.5484 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.4734, allocations: 35.66 kB / 0.5485 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003993/0.4739, allocations: 134.8 kB / 0.5486 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003972/0.4778, allocations: 2.627 MB / 0.5512 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.4971, allocations: 10.33 MB / 0.5613 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05244/0.5495, allocations: 36.69 MB / 0.5971 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00832/0.5579, allocations: 4.563 MB / 0.6015 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.5612, allocations: 2.396 MB / 0.6039 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.5624, allocations: 1.316 MB / 0.6052 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.5624, allocations: 48.56 kB / 0.6052 GB, free: 5.656 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 5.15e-06/0.5624, allocations: 3.094 kB / 0.6052 GB, free: 5.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.03891/0.6014, allocations: 17.53 MB / 0.6223 GB, free: 4.078 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.6014, allocations: 73.41 kB / 0.6224 GB, free: 3.996 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/0.6053, allocations: 2.737 MB / 0.6251 GB, free: 1.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.6056, allocations: 57.3 kB / 0.6251 GB, free: 1.191 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001887/0.6075, allocations: 2.771 MB / 0.6278 GB, free: 14.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.6086, allocations: 0.9211 MB / 0.6287 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.6088, allocations: 106.7 kB / 0.6288 GB, free: 13.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003631/0.6092, allocations: 0.5374 MB / 0.6294 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003395/0.6126, allocations: 2.287 MB / 0.6316 GB, free: 10.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005585/0.6182, allocations: 5.19 MB / 0.6367 GB, free: 3.973 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005495/0.6237, allocations: 3.44 MB / 0.64 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.399e-05/0.6238, allocations: 28 kB / 0.6401 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0163/0.6401, allocations: 8.227 MB / 0.6481 GB, free: 8.266 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.191e-05/0.6403, allocations: 52.03 kB / 0.6481 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001412/0.6404, allocations: 100 kB / 0.6482 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/0.6431, allocations: 0.9411 MB / 0.6492 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004161/0.6473, allocations: 1.214 MB / 0.6503 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00651/0.6538, allocations: 4.813 MB / 0.655 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004032/0.6579, allocations: 302.3 kB / 0.6553 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.6589, allocations: 311.9 kB / 0.6556 GB, free: 428 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (653): * Single equations (assignments): 646 * 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.004662/0.6636, allocations: 2.143 MB / 0.6577 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005471/0.6642, allocations: 284.4 kB / 0.658 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0087/0.6729, allocations: 5.109 MB / 0.663 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.269e-05/0.673, allocations: 47.98 kB / 0.663 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.673, allocations: 4 kB / 0.663 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/0.673, allocations: 7.969 kB / 0.663 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/0.6953, allocations: 11.88 MB / 0.6746 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.659e-05/0.6954, allocations: 8 kB / 0.6747 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/0.6971, allocations: 395.4 kB / 0.675 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/0.6995, allocations: 0.7825 MB / 0.6758 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004418/0.6999, allocations: 55.89 kB / 0.6758 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005527/0.7055, allocations: 4.083 MB / 0.6798 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/0.7055, allocations: 20 kB / 0.6799 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/0.7175, allocations: 7.59 MB / 0.6873 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008704/0.7184, allocations: 333.5 kB / 0.6876 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000481/0.7189, allocations: 44 kB / 0.6876 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.7201, allocations: 150.9 kB / 0.6878 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/0.7204, allocations: 152.9 kB / 0.6879 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.7206, allocations: 71.98 kB / 0.688 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002831/0.7235, allocations: 1.669 MB / 0.6896 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.403e-06/0.7235, allocations: 4 kB / 0.6896 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005235/0.7287, allocations: 0.9898 MB / 0.6906 GB, free: 12.12 MB / 0.5294 GB 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.01262/0.7414, allocations: 8.258 MB / 0.6986 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2696/1.011, allocations: 5.56 MB / 0.7041 GB, free: 193.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.011, allocations: 1.625 kB / 0.7041 GB, free: 193.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003817/1.015, allocations: 2.144 MB / 0.7062 GB, free: 193.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/1.017, allocations: 386.1 kB / 0.7065 GB, free: 193.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04925/1.067, allocations: 31.33 MB / 0.7371 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/1.07, allocations: 3.373 MB / 0.7404 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003979/1.074, allocations: 1.987 MB / 0.7424 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/1.076, allocations: 1.835 MB / 0.7442 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.522e-06/1.076, allocations: 0 / 0.7442 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/1.184, allocations: 68.51 MB / 0.8111 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/1.184, allocations: 194.7 kB / 0.8113 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.277/5.461, allocations: 0 / 0.8113 GB, free: 101.3 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat