Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.0008068/0.0008069, allocations: 96.86 kB / 15.7 MB, free: 468 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.0008888/0.0008889, allocations: 167.6 kB / 16.57 MB, free: 6.047 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.414/1.414, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3789/0.3789, allocations: 43.55 MB / 314.6 MB, free: 8.984 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.0004705/0.0004705, allocations: 12 kB / 384 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2872/0.4007, allocations: 56.62 MB / 499.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03371/0.4345, allocations: 12.31 MB / 0.4998 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01597/0.4505, allocations: 273.8 kB / 0.5001 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01059/0.4611, allocations: 2.945 MB / 0.5029 GB, free: 5.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02807/0.4892, allocations: 8.706 MB / 0.5114 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00501/0.4942, allocations: 0.9127 MB / 0.5123 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.05406/0.5483, allocations: 36.11 MB / 0.5476 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01197/0.5604, allocations: 5.57 MB / 0.553 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005007/0.5654, allocations: 1.65 MB / 0.5546 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005783/0.5712, allocations: 2.567 MB / 0.5571 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001461/0.5727, allocations: 172 kB / 0.5573 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/0.5764, allocations: 1.081 MB / 0.5584 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003644/0.5801, allocations: 2.166 MB / 0.5605 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.5826, allocations: 1.034 MB / 0.5615 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009498/0.5921, allocations: 6.928 MB / 0.5683 GB, free: 15.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.5921, allocations: 0 / 0.5683 GB, free: 15.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5921, allocations: 0 / 0.5683 GB, free: 15.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003679/0.5925, allocations: 0 / 0.5683 GB, free: 15.77 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01549/0.608, allocations: 5.418 MB / 0.5735 GB, free: 10.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.6081, allocations: 8.031 kB / 0.5736 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003219/0.6113, allocations: 0.9079 MB / 0.5744 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03269/0.644, allocations: 6.106 MB / 0.5804 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.6552, allocations: 5.106 MB / 0.5854 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.6556, allocations: 283.2 kB / 0.5857 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/0.6573, allocations: 399.6 kB / 0.586 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0207/0.678, allocations: 11.89 MB / 0.5977 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/0.6782, allocations: 63.48 kB / 0.5977 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004184/0.6786, allocations: 183.8 kB / 0.5979 GB, free: 464 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00305/0.6817, allocations: 2.14 MB / 0.6 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/0.7003, allocations: 10.14 MB / 0.6099 GB, free: 4.148 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3058/1.006, allocations: 47.3 MB / 0.6561 GB, free: 112.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/1.019, allocations: 5.777 MB / 0.6617 GB, free: 112.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003064/1.022, allocations: 2.926 MB / 0.6646 GB, free: 111.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01142/1.033, allocations: 8.757 MB / 0.6731 GB, free: 107 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/1.033, allocations: 58.52 kB / 0.6732 GB, free: 107 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.901e-06/1.033, allocations: 3.984 kB / 0.6732 GB, free: 107 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1086/1.142, allocations: 34.93 MB / 0.7073 GB, free: 95.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/1.142, allocations: 212.8 kB / 0.7075 GB, free: 95.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005936/1.148, allocations: 4.81 MB / 0.7122 GB, free: 91.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004411/1.148, allocations: 65.7 kB / 0.7123 GB, free: 91.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/1.15, allocations: 3.599 MB / 0.7158 GB, free: 87.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008165/1.151, allocations: 0.9595 MB / 0.7167 GB, free: 86.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/1.151, allocations: 132 kB / 0.7168 GB, free: 86.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002453/1.152, allocations: 0.591 MB / 0.7174 GB, free: 85.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003337/1.155, allocations: 3 MB / 0.7204 GB, free: 82.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004442/1.159, allocations: 6.812 MB / 0.727 GB, free: 74.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004441/1.164, allocations: 4.429 MB / 0.7313 GB, free: 69.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.763e-05/1.164, allocations: 36 kB / 0.7314 GB, free: 69.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.01929/1.183, allocations: 13.15 MB / 0.7442 GB, free: 56.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/1.183, allocations: 64 kB / 0.7443 GB, free: 56.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.813e-05/1.183, allocations: 132.1 kB / 0.7444 GB, free: 56.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009593/1.193, allocations: 4.245 MB / 0.7485 GB, free: 52.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003807/1.197, allocations: 1.411 MB / 0.7499 GB, free: 50.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02888/1.226, allocations: 26.38 MB / 0.7757 GB, free: 24.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006003/1.232, allocations: 395.4 kB / 0.7761 GB, free: 23.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007951/1.233, allocations: 405.2 kB / 0.7765 GB, free: 23.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (756): * Single equations (assignments): 750 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.003427/1.236, allocations: 2.454 MB / 0.7788 GB, free: 20.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006168/1.237, allocations: 450.3 kB / 0.7793 GB, free: 20.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/1.25, allocations: 8.237 MB / 0.7873 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/1.25, allocations: 28 kB / 0.7873 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/1.25, allocations: 15.98 kB / 0.7874 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/1.25, allocations: 15.91 kB / 0.7874 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02648/1.276, allocations: 16.86 MB / 0.8038 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/1.276, allocations: 7.281 kB / 0.8038 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/1.278, allocations: 303.5 kB / 0.8041 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0102/1.288, allocations: 3.933 MB / 0.808 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003808/1.288, allocations: 51.98 kB / 0.808 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2948/1.583, allocations: 25.16 MB / 0.8326 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.583, allocations: 5.844 kB / 0.8326 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01914/1.602, allocations: 12.09 MB / 0.8444 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/1.605, allocations: 0.9569 MB / 0.8454 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008242/1.606, allocations: 47.98 kB / 0.8454 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/1.608, allocations: 170.5 kB / 0.8456 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006331/1.609, allocations: 193.4 kB / 0.8457 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/1.609, allocations: 73.39 kB / 0.8458 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005145/1.614, allocations: 3.039 MB / 0.8488 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.002e-06/1.614, allocations: 3.125 kB / 0.8488 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008174/1.622, allocations: 1.422 MB / 0.8502 GB, free: 153 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.022/1.644, allocations: 12.75 MB / 0.8626 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01647/1.661, allocations: 8.121 MB / 0.8706 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.661, allocations: 0.9688 kB / 0.8706 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006792/1.667, allocations: 3.517 MB / 0.874 GB, free: 143.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005335/1.673, allocations: 0.5863 MB / 0.8746 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09104/1.764, allocations: 49.97 MB / 0.9234 GB, free: 103.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003901/1.768, allocations: 3.934 MB / 0.9272 GB, free: 100.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004848/1.773, allocations: 2.007 MB / 0.9292 GB, free: 98.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003516/1.776, allocations: 2.378 MB / 0.9315 GB, free: 95.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.856e-06/1.776, allocations: 0 / 0.9315 GB, free: 95.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5436/2.32, allocations: 118 MB / 1.047 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/2.32, allocations: 233.5 kB / 1.047 GB, free: 146.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4/6.32, allocations: 0 / 1.047 GB, free: 146.8 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat