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.0009003/0.0009003, allocations: 95.31 kB / 20.43 MB, free: 4.141 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.00096/0.00096, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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 0.9127/0.9127, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.131/0.131, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.084e-06/2.084e-06, allocations: 3.938 kB / 347.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.44e-05, allocations: 6.312 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01082/0.01085, allocations: 15.51 MB / 363.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008917/0.01976, allocations: 5.377 MB / 368.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.02141, allocations: 131.3 kB / 368.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005116/0.02652, allocations: 5.53 MB / 374.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.03102, allocations: 2.811 MB / 377 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.03326, allocations: 1.563 MB / 378.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007882/0.04114, allocations: 8.595 MB / 387.2 MB, free: 1.805 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005062/0.0462, allocations: 6.177 MB / 393.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004634/0.05084, allocations: 4.288 MB / 397.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003729/0.05456, allocations: 4.283 MB / 401.9 MB, free: 2.945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007271/0.05529, allocations: 0.6562 MB / 402.6 MB, free: 2.289 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.05743, allocations: 1.748 MB / 404.3 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002195/0.05962, allocations: 3.647 MB / 408 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.06145, allocations: 2.298 MB / 410.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00619/0.06764, allocations: 7.631 MB / 417.9 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.06765, allocations: 0 / 417.9 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.06765, allocations: 0 / 417.9 MB, free: 2.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.602e-05/0.06772, allocations: 0 / 417.9 MB, free: 2.922 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.009567/0.07729, allocations: 8.629 MB / 426.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.07734, allocations: 12.03 kB / 426.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008266/0.0856, allocations: 3.769 MB / 430.3 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006294/0.0919, allocations: 4.522 MB / 434.8 MB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.09208, allocations: 378.2 kB / 435.2 MB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00061/0.09269, allocations: 0.5081 MB / 435.7 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1687/0.2614, allocations: 9.461 MB / 445.2 MB, free: 60.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001609/0.2616, allocations: 63.28 kB / 445.2 MB, free: 60.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004198/0.262, allocations: 231.4 kB / 445.5 MB, free: 60.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002292/0.2643, allocations: 2.546 MB / 448 MB, free: 60.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.2744, allocations: 5.301 MB / 453.3 MB, free: 60.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03448/0.3088, allocations: 59.42 MB / 0.5007 GB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007762/0.3166, allocations: 4.04 MB / 0.5047 GB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.3179, allocations: 1.106 MB / 0.5057 GB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008143/0.326, allocations: 6.963 MB / 0.5125 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.3261, allocations: 69.09 kB / 0.5126 GB, free: 11.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=248): time 4.138e-06/0.3261, allocations: 0 / 0.5126 GB, free: 11.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=343): time 0.05731/0.3834, allocations: 28.18 MB / 0.5401 GB, free: 15.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.86e-05/0.3835, allocations: 246.4 kB / 0.5404 GB, free: 14.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005616/0.3891, allocations: 4.944 MB / 0.5452 GB, free: 10.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003623/0.3894, allocations: 81.7 kB / 0.5453 GB, free: 9.945 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002627/0.3921, allocations: 4.717 MB / 0.5499 GB, free: 5.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0013/0.3934, allocations: 1.349 MB / 0.5512 GB, free: 3.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00186/0.3952, allocations: 1.831 MB / 0.553 GB, free: 2.082 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3953, allocations: 480.8 kB / 0.5534 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.3975, allocations: 1.337 MB / 0.5547 GB, free: 272 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005342/0.4029, allocations: 8.151 MB / 0.5627 GB, free: 5.109 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008459/0.4113, allocations: 10.54 MB / 0.573 GB, free: 8.031 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.009e-05/0.4114, allocations: 48 kB / 0.573 GB, free: 7.984 MB / 442.7 MB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.01629/0.4277, allocations: 10.2 MB / 0.583 GB, free: 13.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.316e-05/0.4277, allocations: 72 kB / 0.5831 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/0.4279, allocations: 156 kB / 0.5832 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007973/0.4358, allocations: 3.182 MB / 0.5863 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003913/0.4398, allocations: 1.895 MB / 0.5882 GB, free: 8.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.4524, allocations: 8.321 MB / 0.5963 GB, free: 0 / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006338/0.4587, allocations: 0.5983 MB / 0.5969 GB, free: 146.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008551/0.4596, allocations: 483.5 kB / 0.5973 GB, free: 146.7 MB / 458.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.002266/0.4619, allocations: 0.8233 MB / 0.5981 GB, free: 146.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009675/0.4628, allocations: 0.5999 MB / 0.5987 GB, free: 146.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.4733, allocations: 5.417 MB / 0.604 GB, free: 146.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/0.4733, allocations: 37.31 kB / 0.6041 GB, free: 146.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.904e-05/0.4733, allocations: 15.88 kB / 0.6041 GB, free: 146.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.4733, allocations: 13.5 kB / 0.6041 GB, free: 146.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/0.4927, allocations: 12.71 MB / 0.6165 GB, free: 145.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.4927, allocations: 7.594 kB / 0.6165 GB, free: 145.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.4938, allocations: 0.4977 MB / 0.617 GB, free: 145.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006874/0.5007, allocations: 2.78 MB / 0.6197 GB, free: 145.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/0.5009, allocations: 66.95 kB / 0.6198 GB, free: 145.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009504/0.5104, allocations: 6.754 MB / 0.6264 GB, free: 143.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.5104, allocations: 11.31 kB / 0.6264 GB, free: 143.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.5215, allocations: 6.983 MB / 0.6332 GB, free: 138.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/0.5236, allocations: 1.088 MB / 0.6343 GB, free: 138 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004914/0.5241, allocations: 63.75 kB / 0.6343 GB, free: 138 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.5257, allocations: 321.4 kB / 0.6346 GB, free: 137.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004416/0.5261, allocations: 244.2 kB / 0.6349 GB, free: 137.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/0.5263, allocations: 92 kB / 0.6349 GB, free: 137.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002604/0.5289, allocations: 2.229 MB / 0.6371 GB, free: 135.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5289, allocations: 0 / 0.6371 GB, free: 135.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004834/0.5337, allocations: 1.997 MB / 0.6391 GB, free: 133.1 MB / 458.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.0005521/0.5343, allocations: 288.5 kB / 0.6393 GB, free: 132.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006392/0.5407, allocations: 5.349 MB / 0.6446 GB, free: 127.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5407, allocations: 0 / 0.6446 GB, free: 127.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002074/0.5428, allocations: 1.89 MB / 0.6464 GB, free: 125.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.5449, allocations: 0.686 MB / 0.6471 GB, free: 125.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.5595, allocations: 12.78 MB / 0.6596 GB, free: 112.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/0.561, allocations: 2.013 MB / 0.6615 GB, free: 110.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003425/0.5645, allocations: 2.123 MB / 0.6636 GB, free: 108.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008013/0.5653, allocations: 340.4 kB / 0.6639 GB, free: 107.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.114e-06/0.5653, allocations: 0 / 0.6639 GB, free: 107.8 MB / 458.7 MB Notification: Performance of Templates: time 0.07682/0.6421, allocations: 75.3 MB / 0.7375 GB, free: 32.53 MB / 458.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.284103150945157]