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.002278/0.002278, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.2 MB / 245 MB, free: 7.625 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009582/0.0009582, allocations: 94.91 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3731/0.3731, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 8 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3987, allocations: 63.24 MB / 0.5193 GB, free: 43.83 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.5487, allocations: 112.2 MB / 0.6289 GB, free: 9.363 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.549, allocations: 87.92 kB / 0.6289 GB, free: 9.281 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6273/1.176, allocations: 130.8 MB / 0.7567 GB, free: 94.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.625e-06/1.176, allocations: 0 / 0.7567 GB, free: 94.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000353/1.177, allocations: 118.4 kB / 0.7568 GB, free: 94.65 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02298/1.2, allocations: 6.79 MB / 0.7634 GB, free: 91.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.2, allocations: 7.906 kB / 0.7634 GB, free: 91.48 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007274/1.207, allocations: 1.309 MB / 0.7647 GB, free: 90.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03225/1.239, allocations: 8.315 MB / 0.7728 GB, free: 89.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01896/1.258, allocations: 6.47 MB / 0.7791 GB, free: 87.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005091/1.259, allocations: 449.3 kB / 0.7796 GB, free: 87.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004115/1.263, allocations: 0.5905 MB / 0.7801 GB, free: 86.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03613/1.299, allocations: 15.74 MB / 0.7955 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003675/1.3, allocations: 81.98 kB / 0.7956 GB, free: 76.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002099/1.302, allocations: 280.6 kB / 0.7959 GB, free: 76.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002079/1.304, allocations: 1.623 MB / 0.7975 GB, free: 75.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02737/1.331, allocations: 14.01 MB / 0.8111 GB, free: 61.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09942/1.431, allocations: 64.06 MB / 0.8737 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01592/1.447, allocations: 6.459 MB / 0.88 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0297/1.476, allocations: 14.41 MB / 0.8941 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/1.477, allocations: 68.5 kB / 0.8941 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=289): time 6.241e-06/1.477, allocations: 0 / 0.8941 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of matching and sorting (n=339): time 0.4296/1.906, allocations: 42.24 MB / 0.9354 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/1.906, allocations: 212.9 kB / 0.9356 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01146/1.918, allocations: 4.817 MB / 0.9403 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008606/1.919, allocations: 73.39 kB / 0.9404 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003339/1.922, allocations: 4.427 MB / 0.9447 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001813/1.924, allocations: 1.256 MB / 0.9459 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008894/1.925, allocations: 172.2 kB / 0.9461 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005135/1.925, allocations: 0.6857 MB / 0.9467 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006247/1.931, allocations: 4.562 MB / 0.9512 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/1.942, allocations: 9.519 MB / 0.9605 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009702/1.952, allocations: 6.456 MB / 0.9668 GB, free: 99.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002859/1.952, allocations: 49.94 kB / 0.9668 GB, free: 99.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.0443/1.997, allocations: 18.72 MB / 0.9851 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/1.997, allocations: 79.12 kB / 0.9852 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002362/1.997, allocations: 175 kB / 0.9854 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02084/2.018, allocations: 5.639 MB / 0.9909 GB, free: 92.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007973/2.026, allocations: 2.062 MB / 0.9929 GB, free: 92.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02727/2.053, allocations: 24.3 MB / 1.017 GB, free: 73.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009829/2.063, allocations: 0.5447 MB / 1.017 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002168/2.065, allocations: 0.5031 MB / 1.018 GB, free: 72.37 MB / 0.5261 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 () * Number of clocked 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.00762/2.073, allocations: 3.104 MB / 1.021 GB, free: 69.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/2.075, allocations: 0.4936 MB / 1.021 GB, free: 69.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02796/2.103, allocations: 12.42 MB / 1.033 GB, free: 56.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000101/2.103, allocations: 59.94 kB / 1.033 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.432e-05/2.103, allocations: 8 kB / 1.033 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-05/2.103, allocations: 15.95 kB / 1.033 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05127/2.154, allocations: 24.04 MB / 1.057 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.899e-05/2.154, allocations: 11.81 kB / 1.057 GB, free: 32.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003206/2.157, allocations: 0.5694 MB / 1.057 GB, free: 31.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01812/2.176, allocations: 4.654 MB / 1.062 GB, free: 26.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008949/2.176, allocations: 57.72 kB / 1.062 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02169/2.198, allocations: 19.58 MB / 1.081 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/2.198, allocations: 7.953 kB / 1.081 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03555/2.234, allocations: 17.48 MB / 1.098 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002682/2.236, allocations: 0.5374 MB / 1.099 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002163/2.239, allocations: 56.77 kB / 1.099 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004408/2.243, allocations: 248.3 kB / 1.099 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/2.244, allocations: 195 kB / 1.099 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003949/2.245, allocations: 88.75 kB / 1.099 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.3346/2.579, allocations: 3.35 MB / 1.103 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.42e-07/2.579, allocations: 0 / 1.103 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009865/2.589, allocations: 1.712 MB / 1.104 GB, free: 121.6 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 () * Number of clocked 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.0349/2.624, allocations: 19.2 MB / 1.123 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01809/2.642, allocations: 10.52 MB / 1.133 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/2.642, allocations: 3.938 kB / 1.133 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00712/2.649, allocations: 3.989 MB / 1.137 GB, free: 116 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/2.654, allocations: 0.5769 MB / 1.138 GB, free: 115.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08771/2.742, allocations: 150 MB / 1.284 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007787/2.75, allocations: 4.753 MB / 1.289 GB, free: 18.59 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.007912/2.758, allocations: 2.999 MB / 1.292 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005173/2.763, allocations: 2.92 MB / 1.295 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of SimCode: time 2.545e-06/2.763, allocations: 3.938 kB / 1.295 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.495/3.258, allocations: 133.3 MB / 1.425 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/3.258, allocations: 222.2 kB / 1.425 GB, free: 145 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.751/9.009, allocations: 0 / 1.425 GB, free: 145 MB / 0.5886 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