Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",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.0008421/0.0008421, allocations: 103 kB / 16.02 MB, free: 76 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.000919/0.0009189, allocations: 185.6 kB / 16.92 MB, free: 6.918 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.205/1.205, allocations: 205.4 MB / 223.1 MB, free: 5.762 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.2672/0.2672, allocations: 43.58 MB / 315 MB, free: 8.645 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.0004765/0.0004765, allocations: 23.98 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.09131, allocations: 58.85 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.1854/0.2768, allocations: 40.57 MB / 484.1 MB, free: 24.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.2908, allocations: 9.182 MB / 493.3 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005242/0.296, allocations: 173.2 kB / 493.5 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008801/0.2969, allocations: 388.9 kB / 493.8 MB, free: 19.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.2998, allocations: 1.631 MB / 495.5 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.3008, allocations: 0.6422 MB / 496.1 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004048/0.3049, allocations: 5.454 MB / 0.4898 GB, free: 16.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004702/0.3096, allocations: 4.081 MB / 0.4938 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.3111, allocations: 1.008 MB / 0.4948 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.3136, allocations: 1.759 MB / 0.4965 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003167/0.3139, allocations: 130.4 kB / 0.4966 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.3155, allocations: 1.072 MB / 0.4977 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.3166, allocations: 1.543 MB / 0.4992 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.3179, allocations: 1.856 MB / 0.501 GB, free: 12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005157/0.323, allocations: 6.345 MB / 0.5072 GB, free: 9.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.323, allocations: 0 / 0.5072 GB, free: 9.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.323, allocations: 4 kB / 0.5072 GB, free: 9.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.3e-05/0.3231, allocations: 0 / 0.5072 GB, free: 9.453 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.00673/0.3299, allocations: 3.707 MB / 0.5108 GB, free: 6.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3299, allocations: 9.156 kB / 0.5108 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008207/0.3308, allocations: 0.6632 MB / 0.5115 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02658/0.3573, allocations: 3.867 MB / 0.5152 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0075/0.3649, allocations: 2.835 MB / 0.518 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002498/0.3651, allocations: 214.1 kB / 0.5182 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/0.3665, allocations: 279.2 kB / 0.5185 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.3837, allocations: 9.23 MB / 0.5275 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.222e-05/0.3839, allocations: 43.58 kB / 0.5275 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003438/0.3842, allocations: 135.9 kB / 0.5277 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003033/0.3872, allocations: 1.919 MB / 0.5295 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/0.4, allocations: 8.047 MB / 0.5374 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03658/0.4366, allocations: 36.13 MB / 0.5727 GB, free: 9.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006872/0.4435, allocations: 3.611 MB / 0.5762 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.4458, allocations: 2.017 MB / 0.5782 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.4461, allocations: 332.2 kB / 0.5785 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.4462, allocations: 51.61 kB / 0.5785 GB, free: 3.469 MB / 446.1 MB Notification: Performance of pre-optimization done (n=156): time 3.125e-06/0.4462, allocations: 4 kB / 0.5786 GB, free: 3.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=177): time 0.03318/0.4794, allocations: 15.34 MB / 0.5935 GB, free: 3.973 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/0.4795, allocations: 179.2 kB / 0.5937 GB, free: 3.762 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004714/0.4842, allocations: 3.653 MB / 0.5973 GB, free: 116 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002763/0.4845, allocations: 53.69 kB / 0.5973 GB, free: 56 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001748/0.4863, allocations: 2.819 MB / 0.6001 GB, free: 13.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006586/0.4869, allocations: 0.6749 MB / 0.6007 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005595/0.4875, allocations: 474.1 kB / 0.6012 GB, free: 12.04 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4876, allocations: 301.1 kB / 0.6015 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/0.4905, allocations: 2.186 MB / 0.6036 GB, free: 9.555 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004697/0.4952, allocations: 5.528 MB / 0.609 GB, free: 2.355 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008029/0.5032, allocations: 8.357 MB / 0.6172 GB, free: 8.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.923e-05/0.5033, allocations: 35.94 kB / 0.6172 GB, free: 8.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01152/0.5148, allocations: 8.264 MB / 0.6253 GB, free: 36 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.716e-05/0.5149, allocations: 60.05 kB / 0.6253 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.206e-05/0.515, allocations: 116 kB / 0.6254 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/0.5171, allocations: 0.9725 MB / 0.6264 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003562/0.5207, allocations: 1.263 MB / 0.6276 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007552/0.5282, allocations: 6.482 MB / 0.634 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003435/0.5317, allocations: 319.4 kB / 0.6343 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004183/0.5321, allocations: 340 kB / 0.6346 GB, free: 6.359 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[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 (671): * Single equations (assignments): 667 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003194/0.5353, allocations: 1.969 MB / 0.6365 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004522/0.5358, allocations: 319.9 kB / 0.6368 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005821/0.5416, allocations: 3.555 MB / 0.6403 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/0.5416, allocations: 20 kB / 0.6403 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5416, allocations: 4 kB / 0.6403 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.5417, allocations: 15.91 kB / 0.6403 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1659/0.7076, allocations: 8.663 MB / 0.6488 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.7076, allocations: 6.906 kB / 0.6488 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.7087, allocations: 270.6 kB / 0.649 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.7103, allocations: 0.8017 MB / 0.6498 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.7104, allocations: 30.69 kB / 0.6499 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005532/0.716, allocations: 6 MB / 0.6557 GB, free: 151.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.716, allocations: 5.672 kB / 0.6557 GB, free: 151.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006666/0.7227, allocations: 6.379 MB / 0.662 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.7237, allocations: 0.6679 MB / 0.6626 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/0.7241, allocations: 29.88 kB / 0.6626 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.7253, allocations: 103.4 kB / 0.6627 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.7255, allocations: 96.97 kB / 0.6628 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.7256, allocations: 53.58 kB / 0.6629 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002642/0.7283, allocations: 2.291 MB / 0.6651 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7283, allocations: 0 / 0.6651 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003549/0.7319, allocations: 0.9356 MB / 0.666 GB, free: 148.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (137): * Single equations (assignments): 133 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007881/0.7397, allocations: 7.031 MB / 0.6729 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006859/0.7466, allocations: 5.268 MB / 0.678 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7466, allocations: 0.75 kB / 0.678 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002783/0.7494, allocations: 1.948 MB / 0.6799 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.7519, allocations: 391.3 kB / 0.6803 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04935/0.8013, allocations: 50.08 MB / 0.7292 GB, free: 96.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002351/0.8037, allocations: 3.069 MB / 0.7322 GB, free: 94.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003398/0.8071, allocations: 1.812 MB / 0.734 GB, free: 92.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/0.8087, allocations: 1.729 MB / 0.7357 GB, free: 90.92 MB / 0.4981 GB Notification: Performance of SimCode: time 1.263e-06/0.8087, allocations: 0 / 0.7357 GB, free: 90.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.16/1.968, allocations: 67.42 MB / 0.8015 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/1.969, allocations: 246.2 kB / 0.8017 GB, free: 23.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.721/5.69, allocations: 4.062 kB / 0.8018 GB, free: 23.26 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches