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.001683/0.001683, allocations: 178.7 kB / 14.15 MB, free: 1.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.3 MB / 236 MB, free: 2.945 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.001009/0.001009, allocations: 94.72 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2055/0.2055, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.511e-05, allocations: 0 / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.144, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4574/0.6015, allocations: 111.3 MB / 0.6104 GB, free: 9.957 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.6017, allocations: 79.89 kB / 0.6105 GB, free: 9.879 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6671/1.269, allocations: 128.6 MB / 0.7361 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.585e-06/1.269, allocations: 0 / 0.7361 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004268/1.269, allocations: 116.6 kB / 0.7362 GB, free: 114.5 MB / 0.5105 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.02481/1.294, allocations: 6.331 MB / 0.7424 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/1.294, allocations: 10.91 kB / 0.7424 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008306/1.303, allocations: 1.312 MB / 0.7437 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03373/1.336, allocations: 8.322 MB / 0.7518 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02105/1.357, allocations: 7.066 MB / 0.7587 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000531/1.358, allocations: 455.9 kB / 0.7592 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004229/1.362, allocations: 0.5884 MB / 0.7597 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04029/1.403, allocations: 15.62 MB / 0.775 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004395/1.403, allocations: 73.84 kB / 0.7751 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003833/1.407, allocations: 286.2 kB / 0.7753 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002896/1.41, allocations: 1.618 MB / 0.7769 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02976/1.44, allocations: 13.81 MB / 0.7904 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08111/1.521, allocations: 64.06 MB / 0.853 GB, free: 46.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/1.534, allocations: 6.418 MB / 0.8592 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004327/1.538, allocations: 3.518 MB / 0.8627 GB, free: 37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02141/1.56, allocations: 14.41 MB / 0.8767 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/1.56, allocations: 60.5 kB / 0.8768 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=289): time 8.847e-06/1.56, allocations: 4 kB / 0.8768 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.08697/1.647, allocations: 29.67 MB / 0.9058 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/1.647, allocations: 218 kB / 0.906 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009594/1.657, allocations: 4.761 MB / 0.9106 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009418/1.658, allocations: 73.7 kB / 0.9107 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.4065/2.064, allocations: 4.426 MB / 0.915 GB, free: 120 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003555/2.068, allocations: 1.251 MB / 0.9163 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002256/2.07, allocations: 174.5 kB / 0.9164 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001741/2.072, allocations: 0.6839 MB / 0.9171 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01422/2.086, allocations: 4.486 MB / 0.9215 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0201/2.106, allocations: 9.448 MB / 0.9307 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01947/2.126, allocations: 6.42 MB / 0.937 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007258/2.127, allocations: 50.73 kB / 0.937 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.06582/2.193, allocations: 18.58 MB / 0.9551 GB, free: 111 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002611/2.193, allocations: 82 kB / 0.9552 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003208/2.193, allocations: 174.7 kB / 0.9554 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02578/2.219, allocations: 5.632 MB / 0.9609 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008023/2.227, allocations: 2.061 MB / 0.9629 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02823/2.255, allocations: 23.62 MB / 0.986 GB, free: 98.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009045/2.265, allocations: 0.5445 MB / 0.9865 GB, free: 98.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002201/2.267, allocations: 0.5053 MB / 0.987 GB, free: 98.72 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 () * 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.002248/2.269, allocations: 0.761 MB / 0.9877 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/2.27, allocations: 0.4958 MB / 0.9882 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02884/2.299, allocations: 12.35 MB / 1 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001087/2.299, allocations: 53.3 kB / 1 GB, free: 94.08 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/2.299, allocations: 11.22 kB / 1 GB, free: 94.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-05/2.299, allocations: 18.52 kB / 1 GB, free: 94.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04876/2.348, allocations: 23.95 MB / 1.024 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.877e-05/2.348, allocations: 4 kB / 1.024 GB, free: 81.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003383/2.352, allocations: 0.5689 MB / 1.024 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01781/2.369, allocations: 4.646 MB / 1.029 GB, free: 77.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009058/2.37, allocations: 59.83 kB / 1.029 GB, free: 77.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02158/2.392, allocations: 18.94 MB / 1.047 GB, free: 60.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/2.392, allocations: 11.94 kB / 1.047 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03162/2.424, allocations: 17.37 MB / 1.064 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/2.426, allocations: 0.5285 MB / 1.065 GB, free: 42.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/2.427, allocations: 52 kB / 1.065 GB, free: 41.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003457/2.43, allocations: 257 kB / 1.065 GB, free: 41.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007444/2.431, allocations: 193.5 kB / 1.065 GB, free: 41.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/2.431, allocations: 89.31 kB / 1.065 GB, free: 41.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005984/2.437, allocations: 3.313 MB / 1.069 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/2.437, allocations: 0 / 1.069 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009001/2.446, allocations: 1.712 MB / 1.07 GB, free: 36.45 MB / 0.5261 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.03205/2.478, allocations: 19.09 MB / 1.089 GB, free: 17.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01648/2.495, allocations: 10.39 MB / 1.099 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/2.495, allocations: 4.688 kB / 1.099 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00536/2.5, allocations: 3.933 MB / 1.103 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/2.504, allocations: 0.586 MB / 1.104 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3458/2.85, allocations: 15.58 MB / 1.119 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/2.86, allocations: 4.757 MB / 1.123 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01023/2.871, allocations: 2.996 MB / 1.126 GB, free: 123.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006143/2.877, allocations: 2.92 MB / 1.129 GB, free: 123.8 MB / 0.5417 GB Notification: Performance of SimCode: time 1.273e-06/2.877, allocations: 3.344 kB / 1.129 GB, free: 123.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2002/3.077, allocations: 135.1 MB / 1.261 GB, free: 46.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/3.077, allocations: 187.4 kB / 1.261 GB, free: 45.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.966/9.043, allocations: 0 / 1.261 GB, free: 45.93 MB / 0.5417 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