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.001004/0.001004, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008414/0.0008414, allocations: 94.62 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2077/0.2077, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.462e-05/1.449e-05, allocations: 4 kB / 418.3 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 58.86 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4595/0.5803, allocations: 108.7 MB / 0.5721 GB, free: 2.816 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.5806, allocations: 81.36 kB / 0.5722 GB, free: 2.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3169/0.8976, allocations: 124.6 MB / 0.6939 GB, free: 14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8977, allocations: 0 / 0.6939 GB, free: 14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003384/0.898, allocations: 119.9 kB / 0.694 GB, free: 13.88 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.01933/0.9173, allocations: 6.325 MB / 0.7002 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.9174, allocations: 8.031 kB / 0.7002 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3625/1.28, allocations: 8.321 MB / 0.7083 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02147/1.301, allocations: 7.367 MB / 0.7155 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004973/1.302, allocations: 190.3 kB / 0.7157 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003997/1.306, allocations: 350.5 kB / 0.716 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02213/1.328, allocations: 10.17 MB / 0.7259 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03428/1.362, allocations: 14.09 MB / 0.7397 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005272/1.363, allocations: 69.81 kB / 0.7398 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004186/1.367, allocations: 37.25 kB / 0.7398 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002561/1.37, allocations: 1.628 MB / 0.7414 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07966/1.45, allocations: 61.51 MB / 0.8015 GB, free: 63.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006303/1.456, allocations: 5.591 MB / 0.8069 GB, free: 60.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003679/1.46, allocations: 3.443 MB / 0.8103 GB, free: 59.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01996/1.48, allocations: 14.14 MB / 0.8241 GB, free: 52.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/1.48, allocations: 59.62 kB / 0.8241 GB, free: 52.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=289): time 6.252e-06/1.48, allocations: 0 / 0.8241 GB, free: 52.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.07179/1.552, allocations: 30.95 MB / 0.8544 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/1.552, allocations: 213.6 kB / 0.8546 GB, free: 29.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007627/1.559, allocations: 4.302 MB / 0.8588 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008294/1.56, allocations: 25.7 kB / 0.8588 GB, free: 25.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002298/1.562, allocations: 4.517 MB / 0.8632 GB, free: 21.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001458/1.564, allocations: 1.23 MB / 0.8644 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005892/1.565, allocations: 0 / 0.8644 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003942/1.565, allocations: 0.6997 MB / 0.8651 GB, free: 19.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005124/1.57, allocations: 4.4 MB / 0.8694 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009543/1.58, allocations: 9.589 MB / 0.8787 GB, free: 4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009042/1.589, allocations: 6.403 MB / 0.885 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002188/1.589, allocations: 55.95 kB / 0.8851 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.04794/1.637, allocations: 17.7 MB / 0.9023 GB, free: 24 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.332/1.969, allocations: 82.95 kB / 0.9024 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005662/1.97, allocations: 186.3 kB / 0.9026 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02539/1.995, allocations: 5.629 MB / 0.9081 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009235/2.004, allocations: 2.147 MB / 0.9102 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03023/2.035, allocations: 21.61 MB / 0.9313 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008331/2.043, allocations: 393.9 kB / 0.9317 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002337/2.045, allocations: 0.5278 MB / 0.9322 GB, free: 104.6 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.003091/2.048, allocations: 0.5558 MB / 0.9327 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03043/2.079, allocations: 11.93 MB / 0.9444 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001893/2.081, allocations: 487 kB / 0.9448 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03249/2.113, allocations: 12.09 MB / 0.9566 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001183/2.114, allocations: 53.91 kB / 0.9567 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.16e-05/2.114, allocations: 11.84 kB / 0.9567 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.652e-05/2.114, allocations: 13.31 kB / 0.9567 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05318/2.167, allocations: 22.6 MB / 0.9788 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-05/2.167, allocations: 7.469 kB / 0.9788 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00328/2.17, allocations: 0.57 MB / 0.9794 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01785/2.188, allocations: 4.633 MB / 0.9839 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006265/2.189, allocations: 13.97 kB / 0.9839 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/2.209, allocations: 17.32 MB / 1.001 GB, free: 83.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/2.209, allocations: 10.69 kB / 1.001 GB, free: 83.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03347/2.242, allocations: 17.09 MB / 1.018 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003511/2.246, allocations: 1.189 MB / 1.019 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001913/2.248, allocations: 8 kB / 1.019 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004153/2.252, allocations: 202.1 kB / 1.019 GB, free: 71.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/2.253, allocations: 195.6 kB / 1.019 GB, free: 71.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006083/2.254, allocations: 86.53 kB / 1.019 GB, free: 71.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00628/2.26, allocations: 2.862 MB / 1.022 GB, free: 68.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/2.26, allocations: 0 / 1.022 GB, free: 68.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0109/2.271, allocations: 1.494 MB / 1.023 GB, free: 67.35 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.03666/2.308, allocations: 18.8 MB / 1.042 GB, free: 48.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01501/2.323, allocations: 10.07 MB / 1.052 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/2.323, allocations: 0 / 1.052 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005545/2.328, allocations: 3.858 MB / 1.055 GB, free: 34.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/2.332, allocations: 465 kB / 1.056 GB, free: 34.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04027/2.372, allocations: 15.25 MB / 1.071 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008125/2.38, allocations: 4.746 MB / 1.075 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009224/2.39, allocations: 3.107 MB / 1.078 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005848/2.395, allocations: 2.928 MB / 1.081 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/2.396, allocations: 0 / 1.081 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.491/2.887, allocations: 128.2 MB / 1.206 GB, free: 73.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/2.887, allocations: 162.7 kB / 1.207 GB, free: 73.79 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.151/8.038, allocations: 3.938 kB / 1.207 GB, free: 73.78 MB / 0.5261 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