Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.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.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal",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.002307/0.002306, allocations: 182.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001164/0.001164, allocations: 100.9 kB / 270.9 MB, free: 8.363 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.5834/0.5834, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005147/0.0005148, allocations: 16 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1364, allocations: 58.83 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.3815/0.518, allocations: 36 MB / 0.514 GB, free: 24.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02373/0.5418, allocations: 8.775 MB / 0.5225 GB, free: 19.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009078/0.5509, allocations: 177.3 kB / 0.5227 GB, free: 18.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006831/0.5578, allocations: 1.823 MB / 0.5245 GB, free: 18.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02051/0.5784, allocations: 5.346 MB / 0.5297 GB, free: 15.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003416/0.5818, allocations: 466 kB / 0.5302 GB, free: 15.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005606/0.5875, allocations: 2.232 MB / 0.5323 GB, free: 14.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006468/0.594, allocations: 3.184 MB / 0.5354 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.5965, allocations: 1.015 MB / 0.5364 GB, free: 13.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.5995, allocations: 1.361 MB / 0.5378 GB, free: 12.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.6006, allocations: 153.9 kB / 0.5379 GB, free: 12.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003015/0.6037, allocations: 0.7518 MB / 0.5386 GB, free: 12.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002626/0.6063, allocations: 1.571 MB / 0.5402 GB, free: 12.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.608, allocations: 0.8817 MB / 0.541 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.619, allocations: 5.628 MB / 0.5465 GB, free: 10 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6191, allocations: 0 / 0.5465 GB, free: 10 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.6191, allocations: 0.875 kB / 0.5465 GB, free: 10 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003295/0.6195, allocations: 0 / 0.5465 GB, free: 10 MB / 378.7 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.01562/0.6351, allocations: 4.178 MB / 0.5506 GB, free: 7.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.6352, allocations: 13.19 kB / 0.5506 GB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003582/0.6387, allocations: 0.8204 MB / 0.5514 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02435/0.6631, allocations: 3.791 MB / 0.5551 GB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008397/0.6716, allocations: 2.404 MB / 0.5575 GB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004074/0.6721, allocations: 238.3 kB / 0.5577 GB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002521/0.6746, allocations: 316.5 kB / 0.558 GB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03858/0.7132, allocations: 12.18 MB / 0.5699 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002104/0.7135, allocations: 31.66 kB / 0.5699 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002172/0.7157, allocations: 147.8 kB / 0.5701 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009805/0.7255, allocations: 2.839 MB / 0.5728 GB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03971/0.7653, allocations: 11.47 MB / 0.584 GB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/0.8673, allocations: 41.28 MB / 0.6244 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02213/0.8895, allocations: 6.153 MB / 0.6304 GB, free: 9.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00302/0.8926, allocations: 1.888 MB / 0.6322 GB, free: 6.961 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.467e-05/0.8927, allocations: 53.22 kB / 0.6323 GB, free: 6.898 MB / 458.7 MB Notification: Performance of pre-optimization done (n=262): time 7.935e-06/0.8928, allocations: 4 kB / 0.6323 GB, free: 6.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=283): time 0.1123/1.005, allocations: 21.08 MB / 0.6528 GB, free: 1.504 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/1.005, allocations: 73.41 kB / 0.6529 GB, free: 1.422 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007796/1.013, allocations: 3.162 MB / 0.656 GB, free: 14.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008494/1.014, allocations: 61.7 kB / 0.6561 GB, free: 14.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003279/1.017, allocations: 2.979 MB / 0.659 GB, free: 11.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0022/1.02, allocations: 1.029 MB / 0.66 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008045/1.02, allocations: 119.9 kB / 0.6601 GB, free: 9.992 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000656/1.021, allocations: 0.5631 MB / 0.6606 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008537/1.03, allocations: 2.83 MB / 0.6634 GB, free: 6.582 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01212/1.042, allocations: 6.016 MB / 0.6693 GB, free: 15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/1.053, allocations: 4.099 MB / 0.6733 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/1.053, allocations: 32 kB / 0.6733 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03265/1.086, allocations: 9.942 MB / 0.683 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.086, allocations: 54.81 kB / 0.6831 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002001/1.086, allocations: 112 kB / 0.6832 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3934/1.48, allocations: 1.366 MB / 0.6845 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009943/1.49, allocations: 1.379 MB / 0.6859 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/1.508, allocations: 7.685 MB / 0.6934 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007056/1.515, allocations: 374.1 kB / 0.6937 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/1.517, allocations: 341.5 kB / 0.694 GB, free: 148.8 MB / 0.4948 GB 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.007477/1.524, allocations: 2.303 MB / 0.6963 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009352/1.525, allocations: 310.6 kB / 0.6966 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02116/1.546, allocations: 6.619 MB / 0.7031 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001239/1.546, allocations: 47.11 kB / 0.7031 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/1.547, allocations: 6.5 kB / 0.7031 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.208e-05/1.547, allocations: 9.844 kB / 0.7031 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04153/1.588, allocations: 14.01 MB / 0.7168 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.355e-05/1.588, allocations: 6.25 kB / 0.7168 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004468/1.593, allocations: 453.8 kB / 0.7172 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006627/1.599, allocations: 1.209 MB / 0.7184 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009031/1.6, allocations: 56.34 kB / 0.7185 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/1.616, allocations: 6.736 MB / 0.7251 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/1.616, allocations: 8.125 kB / 0.7251 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02813/1.644, allocations: 10.46 MB / 0.7353 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003338/1.647, allocations: 0.8301 MB / 0.7361 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/1.648, allocations: 47.72 kB / 0.7361 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003734/1.652, allocations: 194.3 kB / 0.7363 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/1.653, allocations: 157.7 kB / 0.7365 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003588/1.654, allocations: 77.25 kB / 0.7365 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005149/1.659, allocations: 1.95 MB / 0.7384 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.5e-07/1.659, allocations: 2.656 kB / 0.7384 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008585/1.668, allocations: 1.157 MB / 0.7396 GB, free: 131.4 MB / 0.4948 GB 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.03585/1.703, allocations: 12.85 MB / 0.7521 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01706/1.721, allocations: 6.87 MB / 0.7588 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/1.721, allocations: 0 / 0.7588 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007801/1.728, allocations: 2.84 MB / 0.7616 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/1.732, allocations: 360.9 kB / 0.7619 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.112/1.844, allocations: 113.5 MB / 0.8728 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009444/1.854, allocations: 3.691 MB / 0.8764 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006577/1.86, allocations: 2.139 MB / 0.8785 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of SimCode: time 9.31e-07/1.86, allocations: 0 / 0.8785 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.653/6.513, allocations: 107.5 MB / 0.9834 GB, free: 97.91 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat