Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001617, allocations: 181.4 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 101.2 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5571/0.5571, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004818, allocations: 11.98 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3927/0.5268, allocations: 53.4 MB / 0.531 GB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03621/0.5631, allocations: 12.86 MB / 0.5435 GB, free: 3.805 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01343/0.5766, allocations: 270.8 kB / 0.5438 GB, free: 3.762 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01043/0.5871, allocations: 2.666 MB / 0.5464 GB, free: 2.883 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03025/0.6174, allocations: 7.711 MB / 0.5539 GB, free: 15.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005718/0.6232, allocations: 0.8998 MB / 0.5548 GB, free: 14.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.076/0.6992, allocations: 27.81 MB / 0.582 GB, free: 12.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01265/0.7119, allocations: 5.533 MB / 0.5874 GB, free: 7.055 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003928/0.7159, allocations: 1.347 MB / 0.5887 GB, free: 5.703 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004341/0.7203, allocations: 1.799 MB / 0.5904 GB, free: 3.898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.7217, allocations: 176 kB / 0.5906 GB, free: 3.727 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003952/0.7257, allocations: 1.053 MB / 0.5916 GB, free: 2.672 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003791/0.7295, allocations: 2.003 MB / 0.5936 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.7316, allocations: 1.03 MB / 0.5946 GB, free: 15.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.7441, allocations: 6.921 MB / 0.6013 GB, free: 8.688 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7441, allocations: 0 / 0.6013 GB, free: 8.688 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.7441, allocations: 0 / 0.6013 GB, free: 8.688 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002992/0.7445, allocations: 0 / 0.6013 GB, free: 8.688 MB / 426.7 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.02223/0.7667, allocations: 5.576 MB / 0.6068 GB, free: 3.035 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.7668, allocations: 8.031 kB / 0.6068 GB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003526/0.7703, allocations: 0.9079 MB / 0.6077 GB, free: 2.109 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08795/0.8583, allocations: 7.946 MB / 0.6154 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01588/0.8743, allocations: 4.522 MB / 0.6199 GB, free: 5.543 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004902/0.8748, allocations: 287.3 kB / 0.6201 GB, free: 5.262 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/0.8772, allocations: 383.6 kB / 0.6205 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03786/0.9151, allocations: 12.05 MB / 0.6323 GB, free: 8.047 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003199/0.9155, allocations: 55.44 kB / 0.6323 GB, free: 7.992 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001566/0.917, allocations: 179.8 kB / 0.6325 GB, free: 7.816 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006277/0.9233, allocations: 2.147 MB / 0.6346 GB, free: 5.668 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03606/0.9594, allocations: 10.31 MB / 0.6447 GB, free: 11.33 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4343/1.394, allocations: 47.49 MB / 0.691 GB, free: 108.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02558/1.419, allocations: 5.882 MB / 0.6968 GB, free: 107.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02188/1.441, allocations: 8.87 MB / 0.7055 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/1.442, allocations: 57.86 kB / 0.7055 GB, free: 103.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 6.442e-06/1.442, allocations: 0 / 0.7055 GB, free: 103.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.2272/1.669, allocations: 35.64 MB / 0.7403 GB, free: 93.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/1.669, allocations: 205.5 kB / 0.7405 GB, free: 93.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/1.68, allocations: 5.158 MB / 0.7455 GB, free: 91.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007452/1.68, allocations: 61.92 kB / 0.7456 GB, free: 91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003003/1.683, allocations: 3.442 MB / 0.749 GB, free: 87.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001624/1.685, allocations: 0.9727 MB / 0.7499 GB, free: 87.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008876/1.686, allocations: 134 kB / 0.75 GB, free: 87.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004474/1.687, allocations: 0.5928 MB / 0.7506 GB, free: 86.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007467/1.694, allocations: 3.001 MB / 0.7535 GB, free: 84.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/1.704, allocations: 6.79 MB / 0.7602 GB, free: 75.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.715, allocations: 4.421 MB / 0.7645 GB, free: 71.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/1.715, allocations: 40 kB / 0.7645 GB, free: 71.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.04098/1.756, allocations: 12.97 MB / 0.7772 GB, free: 58.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.662e-05/1.756, allocations: 60 kB / 0.7773 GB, free: 58.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/1.756, allocations: 132 kB / 0.7774 GB, free: 58.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02117/1.777, allocations: 4.249 MB / 0.7815 GB, free: 53.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008501/1.786, allocations: 1.411 MB / 0.7829 GB, free: 52.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05831/1.844, allocations: 27.41 MB / 0.8097 GB, free: 24.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007861/1.852, allocations: 403.4 kB / 0.8101 GB, free: 24.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/1.853, allocations: 403 kB / 0.8105 GB, free: 23.88 MB / 490.7 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.005608/1.859, allocations: 2.47 MB / 0.8129 GB, free: 21.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/1.86, allocations: 450.2 kB / 0.8133 GB, free: 20.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02716/1.887, allocations: 8.219 MB / 0.8213 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-05/1.888, allocations: 35.92 kB / 0.8214 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-05/1.888, allocations: 12 kB / 0.8214 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.769e-05/1.888, allocations: 7.969 kB / 0.8214 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0502/1.938, allocations: 16.9 MB / 0.8379 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.711e-05/1.938, allocations: 4 kB / 0.8379 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002867/1.941, allocations: 300.4 kB / 0.8382 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02122/1.962, allocations: 3.944 MB / 0.842 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005714/1.963, allocations: 51.98 kB / 0.8421 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4114/2.374, allocations: 26.2 MB / 0.8676 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/2.374, allocations: 5.906 kB / 0.8677 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03955/2.414, allocations: 12.75 MB / 0.8801 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003716/2.418, allocations: 0.9807 MB / 0.8811 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001643/2.419, allocations: 43.31 kB / 0.8811 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004693/2.424, allocations: 172.3 kB / 0.8813 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001383/2.425, allocations: 193 kB / 0.8814 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003797/2.426, allocations: 76.8 kB / 0.8815 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007955/2.434, allocations: 3.32 MB / 0.8848 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.124e-06/2.434, allocations: 0 / 0.8848 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009263/2.443, allocations: 1.451 MB / 0.8862 GB, free: 147.2 MB / 0.5105 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.03769/2.481, allocations: 14.55 MB / 0.9004 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02297/2.504, allocations: 8.116 MB / 0.9083 GB, free: 137 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/2.504, allocations: 3.344 kB / 0.9083 GB, free: 137 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0107/2.515, allocations: 3.507 MB / 0.9117 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00512/2.52, allocations: 0.5495 MB / 0.9123 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1581/2.678, allocations: 142.4 MB / 1.051 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008597/2.687, allocations: 4.047 MB / 1.055 GB, free: 36 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3563/3.043, allocations: 2.421 MB / 1.058 GB, free: 153 MB / 0.5105 GB Notification: Performance of SimCode: time 9.51e-07/3.043, allocations: 4.594 kB / 1.058 GB, free: 153 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.036/8.079, allocations: 167.6 MB / 1.221 GB, free: 26.42 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat