Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001955/0.001956, allocations: 183.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000897/0.000897, allocations: 86.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2156/0.2156, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003366, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1473, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4645/0.6118, allocations: 109.4 MB / 0.5857 GB, free: 6.539 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.6121, allocations: 76.62 kB / 0.5858 GB, free: 6.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6161/1.228, allocations: 126.9 MB / 0.7097 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.534e-06/1.228, allocations: 0 / 0.7097 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004456/1.229, allocations: 118.1 kB / 0.7098 GB, free: 103.2 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.0269/1.256, allocations: 6.795 MB / 0.7165 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/1.256, allocations: 9.859 kB / 0.7165 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007264/1.263, allocations: 1.305 MB / 0.7177 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03611/1.299, allocations: 8.313 MB / 0.7259 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02058/1.32, allocations: 7.418 MB / 0.7331 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006222/1.32, allocations: 455.1 kB / 0.7335 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003952/1.324, allocations: 0.5906 MB / 0.7341 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04045/1.365, allocations: 15.75 MB / 0.7495 GB, free: 97.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005711/1.365, allocations: 75.36 kB / 0.7496 GB, free: 97.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003992/1.369, allocations: 286.8 kB / 0.7498 GB, free: 97.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002333/1.372, allocations: 1.614 MB / 0.7514 GB, free: 97.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02779/1.4, allocations: 14.02 MB / 0.7651 GB, free: 97.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07794/1.478, allocations: 64.11 MB / 0.8277 GB, free: 52.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/1.492, allocations: 6.459 MB / 0.834 GB, free: 47.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02314/1.515, allocations: 14.45 MB / 0.8481 GB, free: 34.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/1.515, allocations: 63.91 kB / 0.8482 GB, free: 34.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=289): time 7.054e-06/1.515, allocations: 0 / 0.8482 GB, free: 34.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.1432/1.658, allocations: 42.36 MB / 0.8895 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/1.658, allocations: 218 kB / 0.8898 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01227/1.671, allocations: 4.847 MB / 0.8945 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009632/1.672, allocations: 73.7 kB / 0.8946 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004684/1.676, allocations: 4.432 MB / 0.8989 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002298/1.679, allocations: 1.255 MB / 0.9001 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/1.68, allocations: 172 kB / 0.9003 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001124/1.681, allocations: 0.682 MB / 0.9009 GB, free: 472 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3379/2.019, allocations: 4.565 MB / 0.9054 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0126/2.032, allocations: 9.522 MB / 0.9147 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/2.045, allocations: 6.447 MB / 0.921 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003674/2.045, allocations: 50.25 kB / 0.921 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.04533/2.09, allocations: 18.73 MB / 0.9393 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003558/2.091, allocations: 77.81 kB / 0.9394 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002994/2.091, allocations: 173.5 kB / 0.9396 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02052/2.112, allocations: 5.637 MB / 0.9451 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00815/2.12, allocations: 2.062 MB / 0.9471 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03043/2.15, allocations: 24.29 MB / 0.9708 GB, free: 96.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009278/2.16, allocations: 0.5462 MB / 0.9714 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003451/2.163, allocations: 0.5037 MB / 0.9718 GB, free: 95.92 MB / 0.5105 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.01118/2.174, allocations: 3.1 MB / 0.9749 GB, free: 94.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001802/2.176, allocations: 0.4998 MB / 0.9754 GB, free: 94.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03191/2.208, allocations: 12.43 MB / 0.9875 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001349/2.208, allocations: 53.5 kB / 0.9875 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.481e-05/2.208, allocations: 14.2 kB / 0.9876 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001217/2.208, allocations: 13.12 kB / 0.9876 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0571/2.266, allocations: 24.05 MB / 1.011 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.002e-05/2.266, allocations: 4 kB / 1.011 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003277/2.269, allocations: 0.5764 MB / 1.012 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0176/2.287, allocations: 4.647 MB / 1.016 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001171/2.288, allocations: 63.73 kB / 1.016 GB, free: 72.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02244/2.31, allocations: 19.57 MB / 1.035 GB, free: 54.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/2.31, allocations: 11.94 kB / 1.035 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03343/2.344, allocations: 17.5 MB / 1.052 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004891/2.349, allocations: 1.227 MB / 1.054 GB, free: 35.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00206/2.351, allocations: 60.42 kB / 1.054 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004238/2.355, allocations: 248.4 kB / 1.054 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/2.356, allocations: 197.8 kB / 1.054 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005847/2.357, allocations: 84.55 kB / 1.054 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006715/2.363, allocations: 3.374 MB / 1.057 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.833e-06/2.363, allocations: 0 / 1.057 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01139/2.375, allocations: 1.715 MB / 1.059 GB, free: 30.24 MB / 0.5105 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.03443/2.409, allocations: 19.2 MB / 1.078 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01634/2.426, allocations: 10.52 MB / 1.088 GB, free: 328 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.426, allocations: 0 / 1.088 GB, free: 328 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.2498/2.676, allocations: 3.979 MB / 1.092 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/2.68, allocations: 0.5828 MB / 1.093 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0894/2.77, allocations: 150.1 MB / 1.239 GB, free: 30.05 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009008/2.779, allocations: 4.759 MB / 1.244 GB, free: 29.19 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.008655/2.787, allocations: 3.002 MB / 1.247 GB, free: 28.98 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006498/2.794, allocations: 2.923 MB / 1.25 GB, free: 28.98 MB / 0.573 GB Notification: Performance of SimCode: time 1.362e-06/2.794, allocations: 0 / 1.25 GB, free: 28.98 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4492/3.243, allocations: 133.5 MB / 1.38 GB, free: 157.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/3.243, allocations: 213 kB / 1.38 GB, free: 157.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.729/8.973, allocations: 2.844 kB / 1.38 GB, free: 157.2 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat