Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2381/0.2381, allocations: 44.92 MB / 349.6 MB, free: 1.73 MB / 270.1 MB " [Timeout remaining time 180] 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 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) 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_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.66 kB / 491.8 MB, free: 30.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1038, allocations: 64.26 MB / 0.543 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01219/0.116, allocations: 9.629 MB / 0.5524 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007745/0.1237, allocations: 3.824 MB / 0.5561 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.1249, allocations: 59.75 kB / 0.5562 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004425/0.1293, allocations: 2.324 MB / 0.5585 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004056/0.1333, allocations: 1.697 MB / 0.5601 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.1349, allocations: 0.694 MB / 0.5608 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005321/0.1402, allocations: 3.814 MB / 0.5645 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003044/0.1433, allocations: 2.457 MB / 0.5669 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.1451, allocations: 1.304 MB / 0.5682 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.1477, allocations: 1.896 MB / 0.5701 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005546/0.1483, allocations: 288 kB / 0.5703 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.1504, allocations: 1.213 MB / 0.5715 GB, free: 6.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.1522, allocations: 1.663 MB / 0.5731 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0023/0.1545, allocations: 1.934 MB / 0.575 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009255/0.1637, allocations: 6.467 MB / 0.5813 GB, free: 12.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.1637, allocations: 0 / 0.5813 GB, free: 12.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1637, allocations: 0 / 0.5813 GB, free: 12.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002481/0.164, allocations: 4 kB / 0.5813 GB, free: 12.66 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.01353/0.1775, allocations: 4.418 MB / 0.5857 GB, free: 8.168 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.1776, allocations: 12.02 kB / 0.5857 GB, free: 8.156 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001744/0.1793, allocations: 0.6168 MB / 0.5863 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02133/0.2006, allocations: 3.793 MB / 0.59 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00716/0.2078, allocations: 2.663 MB / 0.5926 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.208, allocations: 193.4 kB / 0.5928 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.209, allocations: 275.8 kB / 0.593 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.225, allocations: 8.704 MB / 0.6015 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000116/0.2251, allocations: 39.64 kB / 0.6016 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003472/0.2255, allocations: 127.9 kB / 0.6017 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003268/0.2287, allocations: 1.801 MB / 0.6034 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2774/0.5061, allocations: 7.584 MB / 0.6109 GB, free: 53.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04362/0.5497, allocations: 34.33 MB / 0.6444 GB, free: 29.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006172/0.5559, allocations: 2.913 MB / 0.6472 GB, free: 27.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/0.5582, allocations: 1.699 MB / 0.6489 GB, free: 26.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/0.5585, allocations: 326.6 kB / 0.6492 GB, free: 26.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.5586, allocations: 51 kB / 0.6492 GB, free: 26.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=135): time 4.989e-06/0.5586, allocations: 0 / 0.6492 GB, free: 26.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=156): time 0.02984/0.5884, allocations: 14.62 MB / 0.6635 GB, free: 16.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.5885, allocations: 167.2 kB / 0.6637 GB, free: 16.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/0.592, allocations: 3.57 MB / 0.6672 GB, free: 12.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002144/0.5922, allocations: 49.69 kB / 0.6672 GB, free: 12.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.5933, allocations: 2.822 MB / 0.67 GB, free: 9.824 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/0.5937, allocations: 0.6327 MB / 0.6706 GB, free: 9.199 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009991/0.5947, allocations: 1.08 MB / 0.6716 GB, free: 8.109 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.5947, allocations: 301.1 kB / 0.6719 GB, free: 7.812 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.5968, allocations: 2.026 MB / 0.6739 GB, free: 5.781 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003668/0.6004, allocations: 5.263 MB / 0.679 GB, free: 14.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/0.6105, allocations: 7.915 MB / 0.6868 GB, free: 5.367 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.355e-05/0.6106, allocations: 32 kB / 0.6868 GB, free: 5.336 MB / 478.1 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01607/0.6267, allocations: 7.843 MB / 0.6945 GB, free: 13.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.6268, allocations: 55.94 kB / 0.6945 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/0.627, allocations: 120 kB / 0.6946 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/0.6297, allocations: 0.9733 MB / 0.6956 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004483/0.6342, allocations: 1.199 MB / 0.6968 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.6449, allocations: 6.915 MB / 0.7035 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004625/0.6495, allocations: 299.6 kB / 0.7038 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/0.6506, allocations: 324 kB / 0.7041 GB, free: 3.469 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,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 (636): * Single equations (assignments): 632 * 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.00456/0.6552, allocations: 1.88 MB / 0.7059 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009947/0.6562, allocations: 329.8 kB / 0.7063 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006813/0.663, allocations: 3.187 MB / 0.7094 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.656e-05/0.663, allocations: 27.91 kB / 0.7094 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/0.6631, allocations: 4 kB / 0.7094 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.6631, allocations: 7.969 kB / 0.7094 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/0.6808, allocations: 7.848 MB / 0.7171 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.6808, allocations: 0 / 0.7171 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.6821, allocations: 223.7 kB / 0.7173 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002252/0.6844, allocations: 0.8139 MB / 0.7181 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/0.6846, allocations: 27.98 kB / 0.7181 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.6949, allocations: 6.49 MB / 0.7244 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/0.6949, allocations: 7.938 kB / 0.7244 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.7057, allocations: 5.828 MB / 0.7301 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.7069, allocations: 370.8 kB / 0.7305 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007561/0.7076, allocations: 35.34 kB / 0.7305 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/0.7093, allocations: 87.88 kB / 0.7306 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/0.7096, allocations: 97.03 kB / 0.7307 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.7097, allocations: 36 kB / 0.7307 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004459/0.7142, allocations: 2.233 MB / 0.7329 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7142, allocations: 3.938 kB / 0.7329 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005285/0.7195, allocations: 0.8788 MB / 0.7338 GB, free: 4.852 MB / 0.5137 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 (115): * Single equations (assignments): 111 * 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.01029/0.7297, allocations: 6.461 MB / 0.7401 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008785/0.7385, allocations: 4.728 MB / 0.7447 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.7385, allocations: 0 / 0.7447 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/0.7419, allocations: 1.659 MB / 0.7463 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/0.7451, allocations: 402.5 kB / 0.7467 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08226/0.8273, allocations: 41.22 MB / 0.787 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006335/0.8337, allocations: 2.922 MB / 0.7898 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005981/0.8396, allocations: 1.719 MB / 0.7915 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004018/0.8437, allocations: 1.608 MB / 0.7931 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of SimCode: time 2.013e-06/0.8437, allocations: 0 / 0.7931 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4154/1.259, allocations: 63.57 MB / 0.8551 GB, free: 212.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.18/22.43, allocations: 8.625 kB / 0.8552 GB, free: 212.3 MB / 0.6231 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.200170586816967]