Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001824/0.001825, allocations: 198.2 kB / 8.768 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008671/0.000867, allocations: 94.98 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1896/0.1896, allocations: 45.15 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.76e-05/1.76e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 63.24 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3962/0.4998, allocations: 109.3 MB / 0.6112 GB, free: 9.176 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.5001, allocations: 78.64 kB / 0.6113 GB, free: 9.137 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2561/0.7563, allocations: 106.6 MB / 0.7154 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7563, allocations: 0 / 0.7154 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002164/0.7565, allocations: 107.9 kB / 0.7155 GB, free: 6.672 MB / 0.4948 GB 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.01541/0.772, allocations: 5.261 MB / 0.7206 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.772, allocations: 8.031 kB / 0.7207 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02561/0.7976, allocations: 6.888 MB / 0.7274 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.8139, allocations: 6.407 MB / 0.7336 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.8142, allocations: 164.3 kB / 0.7338 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/0.8163, allocations: 303.8 kB / 0.7341 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01264/0.829, allocations: 7.04 MB / 0.741 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01931/0.8483, allocations: 10.8 MB / 0.7515 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002062/0.8486, allocations: 79.31 kB / 0.7516 GB, free: 468 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005975/0.8492, allocations: 32 kB / 0.7516 GB, free: 436 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2875/1.137, allocations: 1.138 MB / 0.7527 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0556/1.192, allocations: 54.01 MB / 0.8055 GB, free: 92.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004403/1.197, allocations: 4.326 MB / 0.8097 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/1.199, allocations: 2.751 MB / 0.8124 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/1.2, allocations: 0.5699 MB / 0.8129 GB, free: 91.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/1.2, allocations: 61.41 kB / 0.813 GB, free: 91.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=213): time 5.07e-06/1.2, allocations: 0 / 0.813 GB, free: 91.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=272): time 0.05917/1.259, allocations: 26.9 MB / 0.8393 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/1.259, allocations: 207 kB / 0.8395 GB, free: 82.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004613/1.264, allocations: 3.586 MB / 0.843 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005105/1.264, allocations: 25.7 kB / 0.843 GB, free: 81.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001825/1.266, allocations: 3.645 MB / 0.8465 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/1.267, allocations: 0.9777 MB / 0.8475 GB, free: 78.15 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/1.268, allocations: 0 / 0.8475 GB, free: 78.15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002987/1.268, allocations: 0.6009 MB / 0.8481 GB, free: 77.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003415/1.272, allocations: 2.879 MB / 0.8509 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004977/1.277, allocations: 6.805 MB / 0.8575 GB, free: 70.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004788/1.281, allocations: 4.371 MB / 0.8618 GB, free: 68.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.572e-05/1.281, allocations: 43.88 kB / 0.8619 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02138/1.303, allocations: 12.14 MB / 0.8737 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/1.303, allocations: 64.97 kB / 0.8738 GB, free: 62.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/1.303, allocations: 136 kB / 0.8739 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/1.313, allocations: 3.968 MB / 0.8778 GB, free: 59.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004648/1.318, allocations: 1.477 MB / 0.8792 GB, free: 57.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0274/1.346, allocations: 24.35 MB / 0.903 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005968/1.352, allocations: 270.8 kB / 0.9033 GB, free: 36.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/1.353, allocations: 414.7 kB / 0.9037 GB, free: 35.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (794): * Single equations (assignments): 788 * 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.001633/1.355, allocations: 460.4 kB / 0.9041 GB, free: 35.5 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01419/1.369, allocations: 7.853 MB / 0.9118 GB, free: 29.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/1.37, allocations: 411.4 kB / 0.9122 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/1.385, allocations: 7.743 MB / 0.9197 GB, free: 22.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.328e-05/1.385, allocations: 31.94 kB / 0.9197 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.603e-05/1.385, allocations: 12 kB / 0.9198 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.26e-05/1.385, allocations: 20.38 kB / 0.9198 GB, free: 22.78 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02899/1.414, allocations: 15.74 MB / 0.9351 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/1.414, allocations: 11.16 kB / 0.9352 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.416, allocations: 315.4 kB / 0.9355 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009333/1.425, allocations: 3.668 MB / 0.939 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004416/1.425, allocations: 11.98 kB / 0.939 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3249/1.75, allocations: 23.08 MB / 0.9616 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.75, allocations: 9.312 kB / 0.9616 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02246/1.773, allocations: 12.28 MB / 0.9736 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.774, allocations: 450 kB / 0.974 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008225/1.775, allocations: 9 kB / 0.974 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.777, allocations: 128.1 kB / 0.9742 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007428/1.778, allocations: 197 kB / 0.9743 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/1.778, allocations: 75.33 kB / 0.9744 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004483/1.783, allocations: 2.428 MB / 0.9768 GB, free: 125 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/1.783, allocations: 0 / 0.9768 GB, free: 125 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007741/1.79, allocations: 1.242 MB / 0.978 GB, free: 125 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 162 * 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.01843/1.809, allocations: 14.09 MB / 0.9918 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.821, allocations: 7.762 MB / 0.9993 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.821, allocations: 0 / 0.9993 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004685/1.825, allocations: 3.357 MB / 1.003 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/1.828, allocations: 469.6 kB / 1.003 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/1.853, allocations: 11.78 MB / 1.015 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004134/1.857, allocations: 4.029 MB / 1.018 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005264/1.863, allocations: 2.094 MB / 1.021 GB, free: 115 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003362/1.866, allocations: 2.362 MB / 1.023 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of SimCode: time 8.91e-07/1.866, allocations: 6.969 kB / 1.023 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1523/2.018, allocations: 109.9 MB / 1.13 GB, free: 29.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/2.019, allocations: 158 kB / 1.13 GB, free: 29.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.631/6.65, allocations: 0 / 1.13 GB, free: 29.49 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat