Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009658/0.0009658, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 193.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.3 MB / 246 MB, free: 10.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 45.92 MB / 344.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002756, allocations: 4 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1503, allocations: 63.47 MB / 481.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.3749/0.5253, allocations: 42.59 MB / 0.5119 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02852/0.5539, allocations: 9.62 MB / 0.5213 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01184/0.5658, allocations: 209.9 kB / 0.5215 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009891/0.5757, allocations: 2.176 MB / 0.5236 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02753/0.6032, allocations: 6.607 MB / 0.5301 GB, free: 7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004709/0.608, allocations: 0.7711 MB / 0.5309 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.08201/0.69, allocations: 61.46 MB / 0.5909 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00718/0.6972, allocations: 4.237 MB / 0.595 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.7006, allocations: 1.444 MB / 0.5964 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004125/0.7048, allocations: 2.403 MB / 0.5988 GB, free: 148 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007845/0.7056, allocations: 176 kB / 0.5989 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.7082, allocations: 1.077 MB / 0.6 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002448/0.7107, allocations: 1.944 MB / 0.6019 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001717/0.7124, allocations: 0.8933 MB / 0.6028 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007933/0.7204, allocations: 6.135 MB / 0.6087 GB, free: 5.906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.7204, allocations: 0 / 0.6087 GB, free: 5.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.7204, allocations: 0 / 0.6087 GB, free: 5.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002803/0.7207, allocations: 0 / 0.6087 GB, free: 5.906 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01236/0.7331, allocations: 4.828 MB / 0.6135 GB, free: 1.031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.7331, allocations: 8.031 kB / 0.6135 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003202/0.7364, allocations: 0.8043 MB / 0.6143 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03281/0.7692, allocations: 6.043 MB / 0.6202 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009437/0.7787, allocations: 3.719 MB / 0.6238 GB, free: 6.371 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/0.7789, allocations: 238.1 kB / 0.624 GB, free: 6.137 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/0.7802, allocations: 339.7 kB / 0.6243 GB, free: 5.805 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/0.8017, allocations: 10.78 MB / 0.6349 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001832/0.8019, allocations: 51.59 kB / 0.6349 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000498/0.8024, allocations: 163.8 kB / 0.6351 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003298/0.8057, allocations: 1.998 MB / 0.637 GB, free: 8.066 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02072/0.8265, allocations: 9.225 MB / 0.646 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05886/0.8854, allocations: 40.98 MB / 0.686 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/0.896, allocations: 4.228 MB / 0.6902 GB, free: 256 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003432/0.8995, allocations: 1.892 MB / 0.692 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/0.9118, allocations: 7.493 MB / 0.6993 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.9119, allocations: 55.56 kB / 0.6994 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 7.404e-06/0.9119, allocations: 0 / 0.6994 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.4273/1.339, allocations: 41.14 MB / 0.7396 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/1.339, allocations: 201.9 kB / 0.7398 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00492/1.344, allocations: 4.301 MB / 0.744 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005221/1.345, allocations: 61.69 kB / 0.744 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/1.346, allocations: 3.221 MB / 0.7472 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008364/1.347, allocations: 0.8767 MB / 0.748 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/1.347, allocations: 129.5 kB / 0.7481 GB, free: 166 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002304/1.348, allocations: 0.5627 MB / 0.7487 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003867/1.351, allocations: 3.474 MB / 0.7521 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005167/1.357, allocations: 7.089 MB / 0.759 GB, free: 153 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005333/1.362, allocations: 4.802 MB / 0.7637 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.642e-05/1.362, allocations: 36 kB / 0.7637 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.03122/1.393, allocations: 15.66 MB / 0.779 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/1.393, allocations: 60 kB / 0.7791 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/1.394, allocations: 124 kB / 0.7792 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01937/1.413, allocations: 6.116 MB / 0.7852 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00474/1.418, allocations: 1.431 MB / 0.7866 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02843/1.446, allocations: 25.67 MB / 0.8116 GB, free: 98.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005856/1.452, allocations: 407.3 kB / 0.812 GB, free: 98.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.453, allocations: 376.9 kB / 0.8124 GB, free: 98.09 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 576 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (741): * Single equations (assignments): 736 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003797/1.457, allocations: 2.214 MB / 0.8146 GB, free: 95.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000831/1.458, allocations: 390.9 kB / 0.8149 GB, free: 95.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0245/1.482, allocations: 11.07 MB / 0.8257 GB, free: 84.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-05/1.482, allocations: 24.7 kB / 0.8258 GB, free: 84.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.256e-05/1.482, allocations: 16 kB / 0.8258 GB, free: 84.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.389e-05/1.482, allocations: 11.92 kB / 0.8258 GB, free: 84.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03989/1.522, allocations: 20.57 MB / 0.8459 GB, free: 63.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.14e-05/1.522, allocations: 4 kB / 0.8459 GB, free: 63.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.524, allocations: 394.4 kB / 0.8462 GB, free: 62.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01728/1.542, allocations: 5.176 MB / 0.8513 GB, free: 57.76 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005673/1.542, allocations: 45.17 kB / 0.8513 GB, free: 57.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02463/1.567, allocations: 20.8 MB / 0.8717 GB, free: 36.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.567, allocations: 4 kB / 0.8717 GB, free: 36.65 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02769/1.595, allocations: 14.29 MB / 0.8856 GB, free: 22.26 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/1.596, allocations: 455.7 kB / 0.886 GB, free: 21.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009763/1.597, allocations: 45.09 kB / 0.8861 GB, free: 21.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/1.6, allocations: 183.7 kB / 0.8863 GB, free: 21.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005633/1.6, allocations: 150.1 kB / 0.8864 GB, free: 21.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/1.6, allocations: 66.61 kB / 0.8865 GB, free: 21.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004194/1.605, allocations: 2.711 MB / 0.8891 GB, free: 18.65 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/1.605, allocations: 0 / 0.8891 GB, free: 18.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006614/1.611, allocations: 1.332 MB / 0.8904 GB, free: 17.32 MB / 0.5294 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 (167): * 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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3404/1.952, allocations: 14.93 MB / 0.905 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01413/1.966, allocations: 8.048 MB / 0.9129 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.966, allocations: 1.094 kB / 0.9129 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005763/1.972, allocations: 3.169 MB / 0.916 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/1.975, allocations: 0.5156 MB / 0.9165 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1005/2.076, allocations: 49.36 MB / 0.9647 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005443/2.081, allocations: 3.509 MB / 0.9681 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004959/2.086, allocations: 1.968 MB / 0.97 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002971/2.089, allocations: 2.073 MB / 0.972 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/2.089, allocations: 0 / 0.972 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1695/2.259, allocations: 110.3 MB / 1.08 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/2.259, allocations: 228.3 kB / 1.08 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.344/6.603, allocations: 0 / 1.08 GB, free: 12.81 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat