Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008188/0.0008188, allocations: 92.78 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.985e-05/3.989e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 63.25 MB / 0.5114 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.458/0.5736, allocations: 112.2 MB / 0.621 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.5739, allocations: 78.33 kB / 0.6211 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3161/0.89, allocations: 130.9 MB / 0.7489 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8901, allocations: 0 / 0.7489 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002846/0.8903, allocations: 116 kB / 0.749 GB, free: 2.461 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.3434/1.234, allocations: 6.337 MB / 0.7552 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.234, allocations: 13.06 kB / 0.7552 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006012/1.24, allocations: 1.316 MB / 0.7565 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03472/1.275, allocations: 8.318 MB / 0.7646 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0192/1.294, allocations: 6.428 MB / 0.7709 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005747/1.294, allocations: 450.8 kB / 0.7713 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003273/1.298, allocations: 0.5873 MB / 0.7719 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03733/1.335, allocations: 15.62 MB / 0.7872 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004848/1.336, allocations: 82.25 kB / 0.7872 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002854/1.338, allocations: 289.2 kB / 0.7875 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002328/1.341, allocations: 1.611 MB / 0.7891 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02724/1.368, allocations: 13.81 MB / 0.8026 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07808/1.446, allocations: 64.06 MB / 0.8651 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/1.459, allocations: 6.415 MB / 0.8714 GB, free: 60.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004357/1.464, allocations: 3.519 MB / 0.8748 GB, free: 57.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02124/1.485, allocations: 14.41 MB / 0.8889 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.172e-05/1.485, allocations: 63.78 kB / 0.889 GB, free: 44.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=289): time 8.366e-06/1.485, allocations: 3.844 kB / 0.889 GB, free: 44.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=339): time 0.09122/1.576, allocations: 29.66 MB / 0.9179 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/1.577, allocations: 217.9 kB / 0.9181 GB, free: 21.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/1.587, allocations: 4.765 MB / 0.9228 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009774/1.588, allocations: 70.92 kB / 0.9229 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003417/1.592, allocations: 4.437 MB / 0.9272 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001855/1.594, allocations: 1.252 MB / 0.9284 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/1.595, allocations: 175.6 kB / 0.9286 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006054/1.596, allocations: 0.6781 MB / 0.9292 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006232/1.602, allocations: 4.488 MB / 0.9336 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01209/1.614, allocations: 9.438 MB / 0.9428 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/1.626, allocations: 6.431 MB / 0.9491 GB, free: 3.242 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/1.626, allocations: 52 kB / 0.9492 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.4395/2.065, allocations: 18.56 MB / 0.9673 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003607/2.066, allocations: 80.09 kB / 0.9674 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004818/2.066, allocations: 174.4 kB / 0.9675 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02339/2.09, allocations: 5.638 MB / 0.9731 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008449/2.098, allocations: 2.061 MB / 0.9751 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03097/2.129, allocations: 23.63 MB / 0.9981 GB, free: 113.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009474/2.139, allocations: 0.5422 MB / 0.9987 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002511/2.141, allocations: 0.5029 MB / 0.9992 GB, free: 113.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 793 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1061): * Single equations (assignments): 1053 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003769/2.145, allocations: 0.7571 MB / 0.9999 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/2.147, allocations: 0.4967 MB / 1 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03292/2.18, allocations: 12.34 MB / 1.012 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/2.18, allocations: 58.42 kB / 1.012 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.037e-05/2.18, allocations: 10.72 kB / 1.013 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-05/2.18, allocations: 24.06 kB / 1.013 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05562/2.236, allocations: 23.96 MB / 1.036 GB, free: 99.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.943e-05/2.236, allocations: 10.31 kB / 1.036 GB, free: 99.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003329/2.239, allocations: 0.5726 MB / 1.036 GB, free: 99.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01813/2.257, allocations: 4.649 MB / 1.041 GB, free: 98.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/2.258, allocations: 59.28 kB / 1.041 GB, free: 98.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02404/2.282, allocations: 18.92 MB / 1.06 GB, free: 86.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/2.282, allocations: 8 kB / 1.06 GB, free: 86.58 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03574/2.318, allocations: 17.37 MB / 1.077 GB, free: 71.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/2.32, allocations: 0.5328 MB / 1.077 GB, free: 71.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002505/2.323, allocations: 59.72 kB / 1.077 GB, free: 71.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004381/2.327, allocations: 251.1 kB / 1.077 GB, free: 71.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001367/2.328, allocations: 196.6 kB / 1.078 GB, free: 70.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007512/2.329, allocations: 90.05 kB / 1.078 GB, free: 70.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007767/2.337, allocations: 3.306 MB / 1.081 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.31e-07/2.337, allocations: 0 / 1.081 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01112/2.348, allocations: 1.711 MB / 1.083 GB, free: 65.85 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 (254): * Single equations (assignments): 246 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03652/2.385, allocations: 19.1 MB / 1.101 GB, free: 46.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01698/2.402, allocations: 10.39 MB / 1.111 GB, free: 36.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/2.402, allocations: 0 / 1.111 GB, free: 36.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005818/2.408, allocations: 3.938 MB / 1.115 GB, free: 32.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004254/2.412, allocations: 0.5844 MB / 1.116 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04619/2.458, allocations: 15.59 MB / 1.131 GB, free: 16.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009473/2.468, allocations: 4.747 MB / 1.136 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009426/2.477, allocations: 2.997 MB / 1.139 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006104/2.483, allocations: 2.921 MB / 1.141 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/2.483, allocations: 0 / 1.141 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5884/3.072, allocations: 135.1 MB / 1.273 GB, free: 78.46 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/3.072, allocations: 190.2 kB / 1.273 GB, free: 78.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.67/8.742, allocations: 0 / 1.273 GB, free: 78.23 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat