Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009057/0.0009056, allocations: 92.22 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2179/0.2179, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.514e-05/1.515e-05, allocations: 0 / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1442, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.6319, allocations: 110.6 MB / 0.6028 GB, free: 1.723 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.6322, allocations: 75.97 kB / 0.6028 GB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6459/1.278, allocations: 126.2 MB / 0.7261 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.763e-06/1.278, allocations: 0 / 0.7261 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003374/1.278, allocations: 122 kB / 0.7262 GB, free: 106.8 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.02099/1.299, allocations: 6.321 MB / 0.7324 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/1.3, allocations: 11.7 kB / 0.7324 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03315/1.333, allocations: 8.326 MB / 0.7405 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02089/1.354, allocations: 7.06 MB / 0.7474 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000417/1.354, allocations: 194.5 kB / 0.7476 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004021/1.358, allocations: 352.9 kB / 0.7479 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02096/1.379, allocations: 10.16 MB / 0.7578 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03385/1.413, allocations: 14.09 MB / 0.7716 GB, free: 95.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003377/1.413, allocations: 74.72 kB / 0.7717 GB, free: 95.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002026/1.415, allocations: 34.84 kB / 0.7717 GB, free: 95.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002008/1.417, allocations: 1.621 MB / 0.7733 GB, free: 95.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06675/1.484, allocations: 61.45 MB / 0.8333 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005629/1.49, allocations: 5.597 MB / 0.8388 GB, free: 34.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003565/1.493, allocations: 3.433 MB / 0.8421 GB, free: 31.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01955/1.513, allocations: 14.1 MB / 0.8559 GB, free: 16.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/1.513, allocations: 60.5 kB / 0.8559 GB, free: 16.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=289): time 6.342e-06/1.513, allocations: 0 / 0.8559 GB, free: 16.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.07069/1.584, allocations: 30.84 MB / 0.8861 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.584, allocations: 217.9 kB / 0.8863 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3405/1.925, allocations: 4.269 MB / 0.8904 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007719/1.925, allocations: 26.86 kB / 0.8905 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003523/1.929, allocations: 4.518 MB / 0.8949 GB, free: 112 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001685/1.931, allocations: 1.219 MB / 0.8961 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006667/1.931, allocations: 1.031 kB / 0.8961 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006256/1.932, allocations: 0.6997 MB / 0.8968 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007931/1.94, allocations: 4.399 MB / 0.901 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01174/1.952, allocations: 9.584 MB / 0.9104 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/1.965, allocations: 6.379 MB / 0.9166 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003341/1.965, allocations: 61.56 kB / 0.9167 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.04423/2.009, allocations: 17.7 MB / 0.934 GB, free: 101 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001969/2.01, allocations: 88.31 kB / 0.9341 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002775/2.01, allocations: 182.4 kB / 0.9342 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0214/2.031, allocations: 5.627 MB / 0.9397 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008616/2.04, allocations: 2.152 MB / 0.9418 GB, free: 99.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02582/2.066, allocations: 21.62 MB / 0.9629 GB, free: 89.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008803/2.075, allocations: 392.2 kB / 0.9633 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002679/2.077, allocations: 0.5279 MB / 0.9638 GB, free: 89.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * 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 (1109): * Single equations (assignments): 1101 * 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.00347/2.081, allocations: 0.5633 MB / 0.9644 GB, free: 89.05 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02882/2.11, allocations: 11.91 MB / 0.976 GB, free: 85.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00252/2.112, allocations: 479.3 kB / 0.9765 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04355/2.156, allocations: 12.09 MB / 0.9883 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001153/2.156, allocations: 57.22 kB / 0.9883 GB, free: 79.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/2.156, allocations: 8 kB / 0.9883 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.218e-05/2.156, allocations: 13.45 kB / 0.9884 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04802/2.204, allocations: 22.58 MB / 1.01 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-05/2.204, allocations: 4 kB / 1.01 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003241/2.207, allocations: 0.5694 MB / 1.011 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01775/2.225, allocations: 4.634 MB / 1.015 GB, free: 55.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008101/2.226, allocations: 9.641 kB / 1.016 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/2.246, allocations: 17.36 MB / 1.032 GB, free: 37.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/2.247, allocations: 11.81 kB / 1.032 GB, free: 37.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03184/2.278, allocations: 17.08 MB / 1.049 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/2.28, allocations: 0.5027 MB / 1.05 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/2.282, allocations: 8 kB / 1.05 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003117/2.285, allocations: 199.6 kB / 1.05 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006217/2.286, allocations: 201.6 kB / 1.05 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000263/2.286, allocations: 80.94 kB / 1.05 GB, free: 19.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004476/2.29, allocations: 2.842 MB / 1.053 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/2.29, allocations: 0 / 1.053 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0105/2.301, allocations: 1.486 MB / 1.054 GB, free: 15.04 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 () * 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.03319/2.334, allocations: 18.79 MB / 1.073 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.3342/2.668, allocations: 10.07 MB / 1.083 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/2.668, allocations: 2.5 kB / 1.083 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006857/2.675, allocations: 3.857 MB / 1.086 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004144/2.679, allocations: 467.2 kB / 1.087 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04741/2.727, allocations: 15.21 MB / 1.102 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006966/2.734, allocations: 4.752 MB / 1.106 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00847/2.742, allocations: 3.099 MB / 1.109 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005241/2.748, allocations: 2.92 MB / 1.112 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of SimCode: time 7.92e-07/2.748, allocations: 0 / 1.112 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1949/2.943, allocations: 128 MB / 1.237 GB, free: 35.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/2.943, allocations: 147.1 kB / 1.237 GB, free: 35.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.388/8.331, allocations: 9.906 kB / 1.237 GB, free: 35.18 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat