Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 177.7 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.425/0.425, allocations: 43.55 MB / 314.5 MB, free: 8.832 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005431/0.0005432, allocations: 16 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1429, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2809/0.4239, allocations: 36 MB / 478.8 MB, free: 29.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02045/0.4444, allocations: 8.788 MB / 487.6 MB, free: 23.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00874/0.4532, allocations: 168.8 kB / 487.8 MB, free: 23.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006593/0.4598, allocations: 1.822 MB / 489.6 MB, free: 22.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01886/0.4787, allocations: 5.348 MB / 495 MB, free: 20.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.4816, allocations: 458.2 kB / 495.4 MB, free: 20.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005258/0.4869, allocations: 2.231 MB / 497.6 MB, free: 19.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005697/0.4926, allocations: 3.187 MB / 0.4891 GB, free: 17.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002511/0.4952, allocations: 1.007 MB / 0.4901 GB, free: 17.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/0.498, allocations: 1.367 MB / 0.4914 GB, free: 17.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007229/0.4988, allocations: 153.1 kB / 0.4916 GB, free: 17.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.5009, allocations: 0.7531 MB / 0.4923 GB, free: 16.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002021/0.503, allocations: 1.571 MB / 0.4938 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.5043, allocations: 0.8769 MB / 0.4947 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008753/0.5131, allocations: 5.632 MB / 0.5002 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5131, allocations: 1.156 kB / 0.5002 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.5132, allocations: 0 / 0.5002 GB, free: 14.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002999/0.5135, allocations: 0 / 0.5002 GB, free: 14.11 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01304/0.5265, allocations: 4.189 MB / 0.5043 GB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/0.5266, allocations: 13.59 kB / 0.5043 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00353/0.5301, allocations: 0.8166 MB / 0.5051 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/0.5443, allocations: 3.791 MB / 0.5088 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008374/0.5527, allocations: 2.405 MB / 0.5111 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004321/0.5532, allocations: 246.9 kB / 0.5114 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002662/0.5559, allocations: 304.9 kB / 0.5117 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02485/0.5808, allocations: 12.18 MB / 0.5236 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.5809, allocations: 35.66 kB / 0.5236 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000538/0.5815, allocations: 147.8 kB / 0.5237 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004828/0.5863, allocations: 2.839 MB / 0.5265 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02597/0.6123, allocations: 11.46 MB / 0.5377 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07499/0.6873, allocations: 41.27 MB / 0.578 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/0.7012, allocations: 6.155 MB / 0.584 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/0.7034, allocations: 1.884 MB / 0.5859 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/0.7035, allocations: 60.55 kB / 0.5859 GB, free: 11.15 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 6.502e-06/0.7035, allocations: 3.938 kB / 0.5859 GB, free: 11.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.05648/0.76, allocations: 21.09 MB / 0.6065 GB, free: 5.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.7601, allocations: 73.41 kB / 0.6066 GB, free: 5.668 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005249/0.7654, allocations: 3.15 MB / 0.6097 GB, free: 2.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006433/0.766, allocations: 69.64 kB / 0.6097 GB, free: 2.426 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00231/0.7683, allocations: 3.004 MB / 0.6127 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/0.7698, allocations: 1.025 MB / 0.6137 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003243/0.7702, allocations: 116 kB / 0.6138 GB, free: 14.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003935/0.7706, allocations: 0.5623 MB / 0.6143 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00429/0.7749, allocations: 2.827 MB / 0.6171 GB, free: 10.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006497/0.7814, allocations: 6.019 MB / 0.623 GB, free: 3.242 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2428/1.024, allocations: 4.096 MB / 0.627 GB, free: 138.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/1.024, allocations: 30.62 kB / 0.627 GB, free: 138.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02013/1.045, allocations: 10.01 MB / 0.6368 GB, free: 137.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/1.045, allocations: 51.47 kB / 0.6368 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/1.045, allocations: 109.9 kB / 0.6369 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003385/1.048, allocations: 1.37 MB / 0.6382 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005266/1.053, allocations: 1.379 MB / 0.6396 GB, free: 137.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008694/1.062, allocations: 7.684 MB / 0.6471 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004898/1.067, allocations: 377.6 kB / 0.6475 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.068, allocations: 345.8 kB / 0.6478 GB, free: 134.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (724): * Single equations (assignments): 717 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006164/1.075, allocations: 2.306 MB / 0.65 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007854/1.075, allocations: 306.2 kB / 0.6503 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.087, allocations: 6.614 MB / 0.6568 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.98e-05/1.088, allocations: 56.8 kB / 0.6568 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/1.088, allocations: 3.938 kB / 0.6569 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-05/1.088, allocations: 10.3 kB / 0.6569 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02781/1.116, allocations: 14.01 MB / 0.6705 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/1.116, allocations: 7.938 kB / 0.6705 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/1.118, allocations: 453.5 kB / 0.671 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00299/1.121, allocations: 1.213 MB / 0.6722 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004146/1.121, allocations: 51.27 kB / 0.6722 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007276/1.128, allocations: 6.736 MB / 0.6788 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.128, allocations: 13.81 kB / 0.6788 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.142, allocations: 10.44 MB / 0.689 GB, free: 113.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/1.145, allocations: 0.8302 MB / 0.6898 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007714/1.146, allocations: 57.47 kB / 0.6899 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/1.148, allocations: 189.7 kB / 0.69 GB, free: 112.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/1.148, allocations: 161.7 kB / 0.6902 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.148, allocations: 81.72 kB / 0.6903 GB, free: 112 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002978/1.151, allocations: 1.955 MB / 0.6922 GB, free: 110 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.11e-07/1.151, allocations: 0 / 0.6922 GB, free: 110 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005303/1.157, allocations: 1.151 MB / 0.6933 GB, free: 108.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01286/1.169, allocations: 12.84 MB / 0.7059 GB, free: 95.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009089/1.179, allocations: 6.868 MB / 0.7126 GB, free: 88.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.179, allocations: 0 / 0.7126 GB, free: 88.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003432/1.182, allocations: 2.849 MB / 0.7153 GB, free: 86.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.184, allocations: 361.8 kB / 0.7157 GB, free: 85.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.306/1.49, allocations: 112.9 MB / 0.826 GB, free: 154.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005255/1.496, allocations: 3.682 MB / 0.8296 GB, free: 154 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005314/1.501, allocations: 2.205 MB / 0.8317 GB, free: 154 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003451/1.504, allocations: 2.093 MB / 0.8338 GB, free: 152.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/1.505, allocations: 3 kB / 0.8338 GB, free: 152.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/1.629, allocations: 79.99 MB / 0.9119 GB, free: 91.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/1.629, allocations: 194.9 kB / 0.9121 GB, free: 91.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.289/5.918, allocations: 0 / 0.9121 GB, free: 91.5 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat