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.001061/0.001061, allocations: 96.75 kB / 15.69 MB, free: 480 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.001099/0.001099, allocations: 168.3 kB / 16.57 MB, free: 6.387 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.672/1.672, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4905/0.4905, allocations: 43.55 MB / 314.5 MB, free: 9.016 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.0005603/0.0005604, allocations: 12 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1608, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3269/0.4877, allocations: 53.41 MB / 496.2 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03626/0.524, allocations: 12.86 MB / 0.4972 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01722/0.5413, allocations: 272.6 kB / 0.4974 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.5532, allocations: 2.657 MB / 0.5 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0376/0.5908, allocations: 7.704 MB / 0.5076 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00573/0.5966, allocations: 0.8991 MB / 0.5084 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04976/0.6463, allocations: 27.81 MB / 0.5356 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009979/0.6564, allocations: 5.536 MB / 0.541 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/0.6609, allocations: 1.355 MB / 0.5423 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004189/0.6651, allocations: 1.795 MB / 0.5441 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.6664, allocations: 176 kB / 0.5442 GB, free: 8.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003735/0.6701, allocations: 1.049 MB / 0.5453 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00302/0.6732, allocations: 2.011 MB / 0.5472 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.6751, allocations: 1.03 MB / 0.5482 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.687, allocations: 6.925 MB / 0.555 GB, free: 13.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.6871, allocations: 0 / 0.555 GB, free: 13.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.459e-06/0.6871, allocations: 0 / 0.555 GB, free: 13.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005898/0.6877, allocations: 0 / 0.555 GB, free: 13.14 MB / 430.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.01992/0.7077, allocations: 5.574 MB / 0.5604 GB, free: 7.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.7077, allocations: 11.97 kB / 0.5605 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004092/0.7118, allocations: 0.9079 MB / 0.5613 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04393/0.7558, allocations: 7.956 MB / 0.5691 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/0.7688, allocations: 4.506 MB / 0.5735 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004154/0.7693, allocations: 283.3 kB / 0.5738 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002284/0.7716, allocations: 387.6 kB / 0.5742 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02824/0.7999, allocations: 12.05 MB / 0.5859 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002134/0.8001, allocations: 59.42 kB / 0.586 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005841/0.8007, allocations: 179.8 kB / 0.5861 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003726/0.8044, allocations: 2.147 MB / 0.5882 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0242/0.8286, allocations: 10.31 MB / 0.5983 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4504/1.279, allocations: 47.5 MB / 0.6447 GB, free: 111.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01431/1.293, allocations: 5.88 MB / 0.6504 GB, free: 110.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01581/1.309, allocations: 8.871 MB / 0.6591 GB, free: 108.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.228e-05/1.309, allocations: 53.56 kB / 0.6592 GB, free: 108.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 6.012e-06/1.31, allocations: 0 / 0.6592 GB, free: 108.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1312/1.441, allocations: 35.62 MB / 0.6939 GB, free: 98.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.441, allocations: 204.2 kB / 0.6941 GB, free: 97.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009592/1.45, allocations: 5.168 MB / 0.6992 GB, free: 95.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009452/1.451, allocations: 65.45 kB / 0.6993 GB, free: 95.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003114/1.455, allocations: 3.589 MB / 0.7028 GB, free: 92.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001802/1.456, allocations: 0.9724 MB / 0.7037 GB, free: 91.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003856/1.457, allocations: 129.3 kB / 0.7038 GB, free: 91.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003973/1.457, allocations: 0.5956 MB / 0.7044 GB, free: 90.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004201/1.461, allocations: 3 MB / 0.7073 GB, free: 88.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006002/1.467, allocations: 6.789 MB / 0.714 GB, free: 79.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005541/1.473, allocations: 4.422 MB / 0.7183 GB, free: 75.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.799e-05/1.473, allocations: 43.94 kB / 0.7183 GB, free: 75.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02447/1.498, allocations: 13.16 MB / 0.7312 GB, free: 62.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.498, allocations: 60 kB / 0.7312 GB, free: 62.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/1.498, allocations: 132 kB / 0.7314 GB, free: 62.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/1.51, allocations: 4.248 MB / 0.7355 GB, free: 57.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005091/1.515, allocations: 1.415 MB / 0.7369 GB, free: 56.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03303/1.548, allocations: 27.41 MB / 0.7637 GB, free: 28.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007424/1.555, allocations: 395.4 kB / 0.764 GB, free: 28.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001534/1.557, allocations: 396 kB / 0.7644 GB, free: 27.91 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.005465/1.562, allocations: 2.474 MB / 0.7668 GB, free: 25.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.564, allocations: 446.3 kB / 0.7673 GB, free: 24.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/1.579, allocations: 8.222 MB / 0.7753 GB, free: 16.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-05/1.579, allocations: 31.98 kB / 0.7753 GB, free: 16.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.18e-05/1.579, allocations: 20 kB / 0.7753 GB, free: 16.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-05/1.579, allocations: 11.95 kB / 0.7753 GB, free: 16.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03183/1.611, allocations: 16.89 MB / 0.7918 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.641e-05/1.611, allocations: 4 kB / 0.7918 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/1.612, allocations: 303.5 kB / 0.7921 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01164/1.624, allocations: 3.942 MB / 0.796 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006824/1.625, allocations: 48 kB / 0.796 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03937/1.664, allocations: 26.21 MB / 0.8216 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/1.664, allocations: 11.94 kB / 0.8216 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3959/2.06, allocations: 12.74 MB / 0.8341 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003557/2.064, allocations: 0.9738 MB / 0.835 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008332/2.065, allocations: 51.61 kB / 0.8351 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/2.067, allocations: 171.9 kB / 0.8352 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000863/2.068, allocations: 193.8 kB / 0.8354 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/2.068, allocations: 70.23 kB / 0.8355 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005341/2.073, allocations: 3.323 MB / 0.8387 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/2.073, allocations: 0 / 0.8387 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007333/2.081, allocations: 1.451 MB / 0.8401 GB, free: 154.2 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.02386/2.105, allocations: 14.54 MB / 0.8544 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01736/2.122, allocations: 8.126 MB / 0.8623 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/2.122, allocations: 0.5 kB / 0.8623 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007749/2.13, allocations: 3.513 MB / 0.8657 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004111/2.134, allocations: 0.5468 MB / 0.8663 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1389/2.273, allocations: 141.8 MB / 1.005 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004732/2.278, allocations: 4.039 MB / 1.009 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005521/2.283, allocations: 2.025 MB / 1.011 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0043/2.288, allocations: 2.378 MB / 1.013 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of SimCode: time 2.705e-06/2.288, allocations: 0 / 1.013 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5096/2.797, allocations: 119.1 MB / 1.129 GB, free: 79.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/2.797, allocations: 238.6 kB / 1.129 GB, free: 79.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.632/7.429, allocations: 0 / 1.129 GB, free: 79.21 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