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/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.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/Complex trunk/package.mo): time 0.0009918/0.0009918, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008161/0.0008161, allocations: 90.52 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1836/0.1836, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.756e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4003/0.5102, allocations: 108.7 MB / 0.6106 GB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.5105, allocations: 78.33 kB / 0.6107 GB, free: 10.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2526/0.763, allocations: 96.97 MB / 0.7053 GB, free: 1.148 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7631, allocations: 3.938 kB / 0.7054 GB, free: 1.145 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003575/0.7634, allocations: 88 kB / 0.7054 GB, free: 1.059 MB / 490.7 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.01489/0.7784, allocations: 4.629 MB / 0.71 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.7784, allocations: 8.031 kB / 0.71 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02707/0.8055, allocations: 6.729 MB / 0.7165 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/0.8205, allocations: 5.364 MB / 0.7218 GB, free: 184 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.8208, allocations: 136 kB / 0.7219 GB, free: 48 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002126/0.823, allocations: 263.9 kB / 0.7222 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01251/0.8355, allocations: 6.592 MB / 0.7286 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02052/0.8561, allocations: 9.584 MB / 0.738 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004936/0.8566, allocations: 59.47 kB / 0.738 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002581/0.8592, allocations: 32 kB / 0.738 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001786/0.8611, allocations: 1.019 MB / 0.739 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3335/1.195, allocations: 45.97 MB / 0.7839 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/1.199, allocations: 3.069 MB / 0.7869 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/1.201, allocations: 1.735 MB / 0.7886 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/1.202, allocations: 1.931 MB / 0.7905 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/1.202, allocations: 57.39 kB / 0.7906 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=186): time 4.138e-06/1.202, allocations: 4.562 kB / 0.7906 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=242): time 0.05898/1.261, allocations: 26.14 MB / 0.8161 GB, free: 98.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/1.261, allocations: 202.5 kB / 0.8163 GB, free: 98.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004977/1.266, allocations: 3.265 MB / 0.8195 GB, free: 97.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006956/1.267, allocations: 25.7 kB / 0.8195 GB, free: 97.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00185/1.269, allocations: 3.278 MB / 0.8227 GB, free: 95.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/1.27, allocations: 0.8738 MB / 0.8236 GB, free: 94.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/1.27, allocations: 0 / 0.8236 GB, free: 94.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002792/1.271, allocations: 0.5775 MB / 0.8241 GB, free: 93.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003653/1.274, allocations: 3.316 MB / 0.8274 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00515/1.28, allocations: 7.052 MB / 0.8342 GB, free: 86.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005228/1.285, allocations: 4.712 MB / 0.8388 GB, free: 84.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-05/1.285, allocations: 39.88 kB / 0.8389 GB, free: 84.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.03236/1.317, allocations: 14.68 MB / 0.8532 GB, free: 80.56 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.37e-05/1.317, allocations: 68.22 kB / 0.8533 GB, free: 80.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/1.318, allocations: 131 kB / 0.8534 GB, free: 80.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02109/1.339, allocations: 5.92 MB / 0.8592 GB, free: 79.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005293/1.344, allocations: 1.493 MB / 0.8607 GB, free: 79.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02529/1.369, allocations: 22.9 MB / 0.883 GB, free: 59.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006063/1.375, allocations: 277.1 kB / 0.8833 GB, free: 59.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.377, allocations: 391.5 kB / 0.8837 GB, free: 58.81 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 608 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (778): * Single equations (assignments): 773 * 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.001147/1.378, allocations: 454.5 kB / 0.8841 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02513/1.403, allocations: 10.59 MB / 0.8944 GB, free: 50.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001517/1.405, allocations: 371.2 kB / 0.8948 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02546/1.43, allocations: 10.57 MB / 0.9051 GB, free: 39.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.376e-05/1.43, allocations: 27.98 kB / 0.9051 GB, free: 39.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-05/1.43, allocations: 15.84 kB / 0.9051 GB, free: 39.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.576e-05/1.43, allocations: 7.969 kB / 0.9052 GB, free: 39.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03789/1.468, allocations: 19.44 MB / 0.9241 GB, free: 19.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/1.468, allocations: 8 kB / 0.9242 GB, free: 19.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/1.47, allocations: 387.4 kB / 0.9245 GB, free: 19.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01828/1.489, allocations: 4.979 MB / 0.9294 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004774/1.489, allocations: 12 kB / 0.9294 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02112/1.51, allocations: 18.44 MB / 0.9474 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/1.51, allocations: 4 kB / 0.9474 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3112/1.822, allocations: 14.36 MB / 0.9614 GB, free: 134.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.823, allocations: 405 kB / 0.9618 GB, free: 134.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008956/1.824, allocations: 9.766 kB / 0.9618 GB, free: 134.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/1.827, allocations: 134.8 kB / 0.962 GB, free: 134.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000656/1.827, allocations: 159.4 kB / 0.9621 GB, free: 134.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002351/1.828, allocations: 65.95 kB / 0.9622 GB, free: 134.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004484/1.832, allocations: 2.199 MB / 0.9643 GB, free: 134.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.11e-07/1.832, allocations: 1.031 kB / 0.9643 GB, free: 134.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008052/1.84, allocations: 1.17 MB / 0.9655 GB, free: 134.3 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 (173): * Single equations (assignments): 168 * 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.03243/1.873, allocations: 16.16 MB / 0.9812 GB, free: 131.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.883, allocations: 7.636 MB / 0.9887 GB, free: 131.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.883, allocations: 0 / 0.9887 GB, free: 131.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003758/1.887, allocations: 3.02 MB / 0.9916 GB, free: 131.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/1.889, allocations: 413 kB / 0.992 GB, free: 131 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02218/1.912, allocations: 11.17 MB / 1.003 GB, free: 128 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003283/1.915, allocations: 3.606 MB / 1.006 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004901/1.92, allocations: 2.051 MB / 1.008 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00259/1.922, allocations: 2.058 MB / 1.01 GB, free: 125 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/1.922, allocations: 0 / 1.01 GB, free: 125 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/2.069, allocations: 103.6 MB / 1.112 GB, free: 53.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/2.069, allocations: 153.8 kB / 1.112 GB, free: 53.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.241/6.31, allocations: 0 / 1.112 GB, free: 53.23 MB / 0.5417 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