Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.3206/0.3206, allocations: 32.8 MB / 294.1 MB, free: 20 kB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00354/0.00354, allocations: 59.91 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3317, allocations: 65.44 MB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01042/0.3421, allocations: 11.6 MB / 0.5055 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009026/0.3512, allocations: 4.614 MB / 0.51 GB, free: 20.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.3528, allocations: 95.62 kB / 0.5101 GB, free: 20.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005701/0.3585, allocations: 3.872 MB / 0.5139 GB, free: 19.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004701/0.3632, allocations: 2.244 MB / 0.516 GB, free: 18.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.3654, allocations: 1.19 MB / 0.5172 GB, free: 17.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007628/0.373, allocations: 5.821 MB / 0.5229 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005149/0.3781, allocations: 4.01 MB / 0.5268 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/0.3818, allocations: 2.202 MB / 0.529 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005457/0.3873, allocations: 3.001 MB / 0.5319 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001829/0.3891, allocations: 0.5026 MB / 0.5324 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004657/0.3938, allocations: 1.528 MB / 0.5339 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003806/0.3976, allocations: 2.718 MB / 0.5365 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003431/0.401, allocations: 2.236 MB / 0.5387 GB, free: 8.504 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.4126, allocations: 9.97 MB / 0.5484 GB, free: 1.262 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.4126, allocations: 4 kB / 0.5485 GB, free: 1.258 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4126, allocations: 0 / 0.5485 GB, free: 1.258 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003676/0.413, allocations: 0 / 0.5485 GB, free: 1.258 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01794/0.4309, allocations: 6.59 MB / 0.5549 GB, free: 10.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.431, allocations: 8.031 kB / 0.5549 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0188/0.4498, allocations: 2.852 MB / 0.5577 GB, free: 7.727 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009985/0.4598, allocations: 3.599 MB / 0.5612 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003818/0.4601, allocations: 375.8 kB / 0.5616 GB, free: 3.688 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/0.4617, allocations: 431.8 kB / 0.562 GB, free: 3.266 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02946/0.4912, allocations: 13.99 MB / 0.5756 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001865/0.4914, allocations: 47.58 kB / 0.5757 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006395/0.492, allocations: 199.8 kB / 0.5759 GB, free: 4.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00415/0.4961, allocations: 2.406 MB / 0.5782 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0265/0.5226, allocations: 11.78 MB / 0.5897 GB, free: 5.961 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06987/0.5925, allocations: 47.75 MB / 0.6363 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.6063, allocations: 4.307 MB / 0.6405 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004949/0.6113, allocations: 2.758 MB / 0.6432 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02102/0.6323, allocations: 10.21 MB / 0.6532 GB, free: 3.559 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.305e-05/0.6323, allocations: 63.81 kB / 0.6533 GB, free: 3.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 5.14e-06/0.6323, allocations: 0 / 0.6533 GB, free: 3.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.4103/1.043, allocations: 44.68 MB / 0.6969 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/1.043, allocations: 229.3 kB / 0.6971 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005428/1.048, allocations: 4.494 MB / 0.7015 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005212/1.049, allocations: 64.73 kB / 0.7016 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001885/1.051, allocations: 4.023 MB / 0.7055 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008937/1.051, allocations: 0.9759 MB / 0.7065 GB, free: 144 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002001/1.053, allocations: 1.513 MB / 0.7079 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.562e-05/1.054, allocations: 301.1 kB / 0.7082 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005219/1.059, allocations: 3.449 MB / 0.7116 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006975/1.066, allocations: 7.757 MB / 0.7192 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/1.078, allocations: 11.88 MB / 0.7308 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/1.079, allocations: 47 kB / 0.7308 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02927/1.108, allocations: 14.41 MB / 0.7449 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/1.108, allocations: 75 kB / 0.7449 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002433/1.108, allocations: 150.7 kB / 0.7451 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01142/1.12, allocations: 4.02 MB / 0.749 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005295/1.125, allocations: 1.64 MB / 0.7506 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02406/1.149, allocations: 19.51 MB / 0.7697 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006582/1.156, allocations: 483.5 kB / 0.7701 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.157, allocations: 436 kB / 0.7705 GB, free: 102.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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 (880): * Single equations (assignments): 876 * 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,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005093/1.162, allocations: 2.653 MB / 0.7731 GB, free: 99.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.163, allocations: 417.2 kB / 0.7735 GB, free: 99.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01798/1.181, allocations: 8.562 MB / 0.7819 GB, free: 90.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.839e-05/1.181, allocations: 24 kB / 0.7819 GB, free: 90.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/1.181, allocations: 12 kB / 0.7819 GB, free: 90.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.39e-05/1.182, allocations: 15.95 kB / 0.7819 GB, free: 90.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03341/1.215, allocations: 16.18 MB / 0.7977 GB, free: 74.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/1.215, allocations: 4 kB / 0.7977 GB, free: 74.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/1.217, allocations: 399.4 kB / 0.7981 GB, free: 74.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01154/1.229, allocations: 4.074 MB / 0.8021 GB, free: 69.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006757/1.229, allocations: 40 kB / 0.8021 GB, free: 69.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02221/1.251, allocations: 17.92 MB / 0.8196 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.251, allocations: 4 kB / 0.8196 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02265/1.274, allocations: 13.16 MB / 0.8325 GB, free: 38.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.275, allocations: 361.1 kB / 0.8328 GB, free: 38.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/1.276, allocations: 43.83 kB / 0.8329 GB, free: 38.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003024/1.28, allocations: 223.6 kB / 0.8331 GB, free: 38.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007593/1.28, allocations: 166 kB / 0.8333 GB, free: 37.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003424/1.281, allocations: 59.94 kB / 0.8333 GB, free: 37.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004183/1.285, allocations: 2.613 MB / 0.8359 GB, free: 35.24 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.285, allocations: 4 kB / 0.8359 GB, free: 35.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007219/1.292, allocations: 1.457 MB / 0.8373 GB, free: 33.78 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008349/1.293, allocations: 214.7 kB / 0.8375 GB, free: 33.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01129/1.304, allocations: 7.905 MB / 0.8452 GB, free: 25.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.304, allocations: 384 / 0.8452 GB, free: 25.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003848/1.308, allocations: 2.865 MB / 0.848 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/1.312, allocations: 468.7 kB / 0.8485 GB, free: 22.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/1.343, allocations: 13.12 MB / 0.8613 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008617/1.351, allocations: 3.575 MB / 0.8648 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008132/1.359, allocations: 2.129 MB / 0.8668 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/1.361, allocations: 264.5 kB / 0.8671 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/1.361, allocations: 0 / 0.8671 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of Templates: time 0.1243/1.485, allocations: 57.5 MB / 0.9232 GB, free: 10.1 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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: 8.439467036048882]