Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001418/0.001418, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001516/0.001516, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2771/0.2771, allocations: 46.96 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 64.09 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3745, allocations: 66.04 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01557/0.39, allocations: 11.58 MB / 0.5724 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.4003, allocations: 4.627 MB / 0.5769 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.4025, allocations: 95.56 kB / 0.577 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007872/0.4103, allocations: 3.871 MB / 0.5808 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006885/0.4172, allocations: 2.237 MB / 0.583 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.4205, allocations: 1.197 MB / 0.5841 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.4306, allocations: 5.818 MB / 0.5898 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00648/0.437, allocations: 4.013 MB / 0.5937 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004203/0.4412, allocations: 2.204 MB / 0.5959 GB, free: 344 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005383/0.4466, allocations: 2.987 MB / 0.5988 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001247/0.4479, allocations: 0.5 MB / 0.5993 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003302/0.4512, allocations: 1.537 MB / 0.6008 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00339/0.4546, allocations: 2.711 MB / 0.6035 GB, free: 8.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003645/0.4582, allocations: 2.245 MB / 0.6056 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.4717, allocations: 9.963 MB / 0.6154 GB, free: 12.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4717, allocations: 0 / 0.6154 GB, free: 12.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4717, allocations: 0 / 0.6154 GB, free: 12.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003/0.472, allocations: 0 / 0.6154 GB, free: 12.32 MB / 462.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.01809/0.4901, allocations: 6.594 MB / 0.6218 GB, free: 5.656 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4902, allocations: 12.03 kB / 0.6218 GB, free: 5.645 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01845/0.5086, allocations: 2.739 MB / 0.6245 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.5187, allocations: 3.591 MB / 0.628 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004111/0.5191, allocations: 375.9 kB / 0.6284 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.5205, allocations: 435.8 kB / 0.6288 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02742/0.5479, allocations: 13.95 MB / 0.6424 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00016/0.5481, allocations: 51.58 kB / 0.6425 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005882/0.5487, allocations: 199.8 kB / 0.6426 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003958/0.5526, allocations: 2.414 MB / 0.645 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02667/0.5793, allocations: 11.74 MB / 0.6565 GB, free: 1.184 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.07359/0.6529, allocations: 47.61 MB / 0.703 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.6662, allocations: 4.112 MB / 0.707 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004573/0.6708, allocations: 2.753 MB / 0.7097 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02164/0.6924, allocations: 10.17 MB / 0.7196 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.763e-05/0.6925, allocations: 55.81 kB / 0.7197 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=197): time 5.711e-06/0.6925, allocations: 0 / 0.7197 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=248): time 0.4242/1.117, allocations: 43.3 MB / 0.7619 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/1.117, allocations: 239.6 kB / 0.7622 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004598/1.121, allocations: 4.498 MB / 0.7666 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004085/1.122, allocations: 65.64 kB / 0.7666 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/1.123, allocations: 4.023 MB / 0.7706 GB, free: 133 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006549/1.124, allocations: 0.9713 MB / 0.7715 GB, free: 132 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/1.125, allocations: 1.516 MB / 0.773 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.229e-05/1.125, allocations: 305.1 kB / 0.7733 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003857/1.129, allocations: 3.434 MB / 0.7766 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005968/1.135, allocations: 7.749 MB / 0.7842 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/1.146, allocations: 11.86 MB / 0.7958 GB, free: 103 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/1.146, allocations: 44 kB / 0.7958 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02599/1.172, allocations: 14.39 MB / 0.8099 GB, free: 88.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.173, allocations: 68 kB / 0.8099 GB, free: 88.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/1.173, allocations: 148.8 kB / 0.8101 GB, free: 88.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01136/1.184, allocations: 4.022 MB / 0.814 GB, free: 84.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/1.189, allocations: 1.622 MB / 0.8156 GB, free: 82.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02275/1.212, allocations: 19.52 MB / 0.8346 GB, free: 63.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007486/1.219, allocations: 463.5 kB / 0.8351 GB, free: 62.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/1.22, allocations: 428 kB / 0.8355 GB, free: 62.16 MB / 0.5606 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.004376/1.225, allocations: 2.656 MB / 0.8381 GB, free: 59.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009246/1.226, allocations: 409.3 kB / 0.8385 GB, free: 59.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/1.243, allocations: 8.566 MB / 0.8468 GB, free: 50.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.391e-05/1.243, allocations: 27.94 kB / 0.8469 GB, free: 50.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.368e-05/1.243, allocations: 12 kB / 0.8469 GB, free: 50.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.759e-05/1.243, allocations: 17.17 kB / 0.8469 GB, free: 50.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03115/1.274, allocations: 16.15 MB / 0.8627 GB, free: 34.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.363e-05/1.274, allocations: 0 / 0.8627 GB, free: 34.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/1.276, allocations: 397.8 kB / 0.863 GB, free: 33.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01175/1.288, allocations: 4.073 MB / 0.867 GB, free: 29.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005829/1.288, allocations: 43.98 kB / 0.8671 GB, free: 29.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/1.31, allocations: 17.9 MB / 0.8845 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.31, allocations: 0 / 0.8845 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02328/1.333, allocations: 13.19 MB / 0.8974 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/1.335, allocations: 365.1 kB / 0.8978 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008103/1.336, allocations: 36 kB / 0.8978 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/1.339, allocations: 215.7 kB / 0.898 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006597/1.339, allocations: 162.1 kB / 0.8982 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/1.339, allocations: 68.45 kB / 0.8982 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004632/1.344, allocations: 2.609 MB / 0.9008 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.344, allocations: 0 / 0.9008 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007224/1.351, allocations: 1.468 MB / 0.9022 GB, free: 9.652 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.0007609/1.352, allocations: 210.6 kB / 0.9024 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01457/1.367, allocations: 7.903 MB / 0.9101 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.367, allocations: 64 / 0.9101 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00519/1.372, allocations: 2.873 MB / 0.9129 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/1.375, allocations: 459.8 kB / 0.9134 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02778/1.403, allocations: 13.11 MB / 0.9262 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005887/1.409, allocations: 3.575 MB / 0.9297 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005491/1.414, allocations: 2.129 MB / 0.9317 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.415, allocations: 267.4 kB / 0.932 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of SimCode: time 2.214e-06/1.415, allocations: 0 / 0.932 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of Templates: time 0.4364/1.852, allocations: 63.19 MB / 0.9937 GB, free: 212.1 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.699543623253703]