Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.001763/0.001763, allocations: 184.6 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.685/1.685, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008939/0.000894, allocations: 86.86 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.2253/0.2253, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000352, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 58.85 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.494/0.6405, allocations: 107.3 MB / 0.5836 GB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.6408, allocations: 80.98 kB / 0.5837 GB, free: 8.684 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2683/0.9091, allocations: 103.8 MB / 0.6851 GB, free: 8.633 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.9092, allocations: 4 kB / 0.6851 GB, free: 8.629 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004716/0.9097, allocations: 104 kB / 0.6852 GB, free: 8.527 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02002/0.9297, allocations: 5.702 MB / 0.6908 GB, free: 2.746 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.9298, allocations: 12.03 kB / 0.6908 GB, free: 2.734 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004498/0.9343, allocations: 1.024 MB / 0.6918 GB, free: 1.699 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02806/0.9624, allocations: 6.877 MB / 0.6985 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02243/0.9849, allocations: 7.539 MB / 0.7058 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007176/0.9857, allocations: 374.2 kB / 0.7062 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003933/0.9896, allocations: 0.4919 MB / 0.7067 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4172/1.407, allocations: 12.36 MB / 0.7188 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005545/1.407, allocations: 72.45 kB / 0.7188 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002299/1.41, allocations: 242.8 kB / 0.7191 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002574/1.412, allocations: 1.14 MB / 0.7202 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/1.437, allocations: 10.28 MB / 0.7302 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0617/1.499, allocations: 55.72 MB / 0.7846 GB, free: 72.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/1.512, allocations: 5.716 MB / 0.7902 GB, free: 70.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01477/1.527, allocations: 8.802 MB / 0.7988 GB, free: 65.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.527, allocations: 59.14 kB / 0.7989 GB, free: 65.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=206): time 4.127e-06/1.527, allocations: 0 / 0.7989 GB, free: 65.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.117/1.644, allocations: 36.01 MB / 0.834 GB, free: 51.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.644, allocations: 209.9 kB / 0.8342 GB, free: 51.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008098/1.652, allocations: 4.231 MB / 0.8384 GB, free: 47.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007031/1.653, allocations: 61.7 kB / 0.8384 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002945/1.656, allocations: 3.603 MB / 0.8419 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0017/1.658, allocations: 0.978 MB / 0.8429 GB, free: 43.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/1.659, allocations: 136.5 kB / 0.843 GB, free: 43.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006009/1.659, allocations: 0.59 MB / 0.8436 GB, free: 43.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004347/1.664, allocations: 3.008 MB / 0.8465 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006081/1.67, allocations: 6.818 MB / 0.8532 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006258/1.676, allocations: 4.435 MB / 0.8575 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001316/1.676, allocations: 40 kB / 0.8576 GB, free: 28.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02512/1.701, allocations: 13.08 MB / 0.8703 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.702, allocations: 61.56 kB / 0.8704 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/1.702, allocations: 136 kB / 0.8705 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01103/1.713, allocations: 4.087 MB / 0.8745 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004887/1.718, allocations: 1.419 MB / 0.8759 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3593/2.077, allocations: 26.88 MB / 0.9021 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007599/2.085, allocations: 395 kB / 0.9025 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002006/2.087, allocations: 402.9 kB / 0.9029 GB, free: 109.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (763): * Single equations (assignments): 757 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.007372/2.094, allocations: 2.478 MB / 0.9053 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/2.096, allocations: 448.7 kB / 0.9058 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0206/2.116, allocations: 8.114 MB / 0.9137 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.068e-05/2.116, allocations: 31.17 kB / 0.9137 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.023e-05/2.116, allocations: 12.58 kB / 0.9137 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-05/2.117, allocations: 16.03 kB / 0.9137 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03412/2.151, allocations: 16.71 MB / 0.9301 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.234e-05/2.151, allocations: 7 kB / 0.9301 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/2.152, allocations: 299.7 kB / 0.9303 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01038/2.163, allocations: 3.778 MB / 0.934 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000542/2.163, allocations: 46.38 kB / 0.9341 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03217/2.196, allocations: 25.64 MB / 0.9591 GB, free: 97.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/2.196, allocations: 6.75 kB / 0.9591 GB, free: 97.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0208/2.216, allocations: 12.64 MB / 0.9715 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003254/2.22, allocations: 0.9544 MB / 0.9724 GB, free: 92.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000972/2.221, allocations: 51.72 kB / 0.9724 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/2.223, allocations: 163 kB / 0.9726 GB, free: 92.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006782/2.224, allocations: 196 kB / 0.9728 GB, free: 92.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/2.224, allocations: 70.7 kB / 0.9729 GB, free: 92.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005759/2.23, allocations: 3.003 MB / 0.9758 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.71e-07/2.23, allocations: 0 / 0.9758 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009256/2.239, allocations: 1.437 MB / 0.9772 GB, free: 90.85 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 (161): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.02078/2.26, allocations: 14.42 MB / 0.9913 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01407/2.274, allocations: 8.137 MB / 0.9992 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/2.274, allocations: 0 / 0.9992 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005637/2.28, allocations: 3.469 MB / 1.003 GB, free: 79.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/2.283, allocations: 0.5532 MB / 1.003 GB, free: 78.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3803/2.664, allocations: 141.3 MB / 1.141 GB, free: 93.94 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004316/2.668, allocations: 4.048 MB / 1.145 GB, free: 93.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004772/2.673, allocations: 2.029 MB / 1.147 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002848/2.676, allocations: 2.399 MB / 1.149 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/2.676, allocations: 0 / 1.149 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1598/2.836, allocations: 117.8 MB / 1.264 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/2.836, allocations: 224.1 kB / 1.265 GB, free: 20.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.139/7.975, allocations: 3.938 kB / 1.265 GB, free: 20.33 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat