Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001071/0.001071, allocations: 88.2 kB / 20.94 MB, free: 3.602 MB / 18.57 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.001132/0.001132, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 158.6 MB / 186 MB, free: 2.656 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1263/0.1263, allocations: 32.38 MB / 270.7 MB, free: 14.74 MB / 266.7 MB " [Timeout remaining time 180] 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.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 347.6 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.301e-05, allocations: 6.25 kB / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01789/0.01792, allocations: 15.46 MB / 363.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.03156, allocations: 5.352 MB / 368.5 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.03512, allocations: 131.4 kB / 368.6 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007376/0.04249, allocations: 5.522 MB / 374.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007102/0.0496, allocations: 2.807 MB / 376.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.05292, allocations: 1.563 MB / 378.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01265/0.06556, allocations: 8.604 MB / 387.1 MB, free: 2.211 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009548/0.07511, allocations: 6.177 MB / 393.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.08622, allocations: 4.292 MB / 397.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007511/0.09374, allocations: 4.279 MB / 401.8 MB, free: 3.352 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002597/0.09633, allocations: 0.6484 MB / 402.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004216/0.1005, allocations: 1.752 MB / 404.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005017/0.1056, allocations: 3.651 MB / 407.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005778/0.1113, allocations: 2.287 MB / 410.2 MB, free: 11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.1238, allocations: 7.639 MB / 417.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.1238, allocations: 4 kB / 417.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1238, allocations: 0 / 417.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005049/0.1243, allocations: 0 / 417.8 MB, free: 3.328 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.0176/0.1419, allocations: 8.633 MB / 426.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.87e-05/0.142, allocations: 8.031 kB / 426.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009658/0.1516, allocations: 3.769 MB / 430.2 MB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009009/0.1607, allocations: 4.518 MB / 434.7 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/0.161, allocations: 386.2 kB / 435.1 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/0.1624, allocations: 0.5042 MB / 435.6 MB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2088/0.3712, allocations: 9.467 MB / 445.1 MB, free: 85.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002681/0.3714, allocations: 59.06 kB / 445.1 MB, free: 85.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006538/0.3721, allocations: 236.1 kB / 445.4 MB, free: 85.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002353/0.3744, allocations: 2.545 MB / 447.9 MB, free: 84.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.3894, allocations: 5.301 MB / 453.2 MB, free: 80.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05848/0.4479, allocations: 59.42 MB / 0.5006 GB, free: 20.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.458, allocations: 4.036 MB / 0.5046 GB, free: 16.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002293/0.4603, allocations: 1.103 MB / 0.5056 GB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/0.4717, allocations: 6.973 MB / 0.5125 GB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.556e-05/0.4718, allocations: 67.33 kB / 0.5125 GB, free: 8.523 MB / 362.7 MB Notification: Performance of pre-optimization done (n=248): time 7.734e-06/0.4718, allocations: 0 / 0.5125 GB, free: 8.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=343): time 0.0648/0.5366, allocations: 28.18 MB / 0.54 GB, free: 12.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002684/0.5369, allocations: 239.9 kB / 0.5403 GB, free: 12.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006259/0.5431, allocations: 4.949 MB / 0.5451 GB, free: 7.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008501/0.544, allocations: 77.7 kB / 0.5452 GB, free: 7.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003297/0.5473, allocations: 4.72 MB / 0.5498 GB, free: 2.848 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001927/0.5492, allocations: 1.345 MB / 0.5511 GB, free: 1.492 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001999/0.5512, allocations: 1.828 MB / 0.5529 GB, free: 15.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5513, allocations: 480.8 kB / 0.5533 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.5536, allocations: 1.333 MB / 0.5546 GB, free: 13.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005473/0.559, allocations: 8.164 MB / 0.5626 GB, free: 2.586 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/0.5694, allocations: 10.54 MB / 0.5729 GB, free: 4.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002176/0.5697, allocations: 44 kB / 0.5729 GB, free: 4.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.02136/0.591, allocations: 10.2 MB / 0.5829 GB, free: 10.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.731e-05/0.5911, allocations: 72 kB / 0.583 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/0.5913, allocations: 160.1 kB / 0.5831 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008585/0.5998, allocations: 3.181 MB / 0.5862 GB, free: 7.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005004/0.6048, allocations: 1.883 MB / 0.5881 GB, free: 5.383 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1941/0.799, allocations: 8.318 MB / 0.5962 GB, free: 133.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005907/0.8049, allocations: 0.6021 MB / 0.5968 GB, free: 133.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/0.8066, allocations: 486.7 kB / 0.5973 GB, free: 133.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1027): * Single equations (assignments): 1023 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003345/0.8099, allocations: 0.8175 MB / 0.5981 GB, free: 133.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/0.8115, allocations: 0.6036 MB / 0.5986 GB, free: 133.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.8222, allocations: 5.421 MB / 0.6039 GB, free: 133.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.876e-05/0.8223, allocations: 34.59 kB / 0.604 GB, free: 133.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.117e-05/0.8223, allocations: 22.72 kB / 0.604 GB, free: 133.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-05/0.8224, allocations: 19.5 kB / 0.604 GB, free: 133.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0247/0.8471, allocations: 12.7 MB / 0.6164 GB, free: 131.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/0.8471, allocations: 7.844 kB / 0.6164 GB, free: 131.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/0.8487, allocations: 0.4959 MB / 0.6169 GB, free: 131.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007334/0.856, allocations: 2.788 MB / 0.6196 GB, free: 131.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006485/0.8567, allocations: 66.5 kB / 0.6197 GB, free: 131.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/0.8672, allocations: 6.743 MB / 0.6263 GB, free: 128 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.8673, allocations: 15.72 kB / 0.6263 GB, free: 128 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/0.8795, allocations: 7.001 MB / 0.6331 GB, free: 121.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00262/0.8821, allocations: 1.076 MB / 0.6342 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/0.8831, allocations: 63.98 kB / 0.6342 GB, free: 120.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/0.885, allocations: 321.5 kB / 0.6345 GB, free: 120.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005636/0.8855, allocations: 238.1 kB / 0.6348 GB, free: 119.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.8857, allocations: 95.98 kB / 0.6349 GB, free: 119.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002763/0.8885, allocations: 2.229 MB / 0.637 GB, free: 117.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8885, allocations: 0 / 0.637 GB, free: 117.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006618/0.8951, allocations: 1.997 MB / 0.639 GB, free: 115.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009348/0.896, allocations: 286.8 kB / 0.6393 GB, free: 115.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008099/0.9041, allocations: 5.359 MB / 0.6445 GB, free: 110 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.9041, allocations: 320 / 0.6445 GB, free: 110 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002557/0.9067, allocations: 1.891 MB / 0.6463 GB, free: 108.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/0.9106, allocations: 0.6842 MB / 0.647 GB, free: 107.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.9298, allocations: 12.76 MB / 0.6595 GB, free: 94.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/0.9321, allocations: 2.015 MB / 0.6614 GB, free: 92.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003696/0.9358, allocations: 2.125 MB / 0.6635 GB, free: 90.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009851/0.9368, allocations: 348.4 kB / 0.6639 GB, free: 89.93 MB / 442.7 MB Notification: Performance of SimCode: time 2.264e-06/0.9368, allocations: 0 / 0.6639 GB, free: 89.93 MB / 442.7 MB Notification: Performance of Templates: time 0.08296/1.02, allocations: 75.28 MB / 0.7374 GB, free: 14.6 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.473369640065357]