Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001288/0.001288, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001223/0.001223, allocations: 168.3 kB / 24.82 MB, free: 9.262 MB / 18.57 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 0.958/0.958, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.251/0.251, allocations: 32.81 MB / 294.6 MB, free: 1.168 MB / 266.7 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.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.347e-05, allocations: 2.312 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01335/0.01337, allocations: 15.03 MB / 391.5 MB, free: 5.277 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009175/0.02254, allocations: 5.338 MB / 396.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.02421, allocations: 127.4 kB / 397 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006602/0.03081, allocations: 5.42 MB / 402.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004289/0.0351, allocations: 2.784 MB / 405.2 MB, free: 7.566 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.03724, allocations: 1.571 MB / 406.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008223/0.04546, allocations: 9.351 MB / 416.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005263/0.05072, allocations: 6.154 MB / 422.2 MB, free: 6.379 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005561/0.05628, allocations: 5.783 MB / 428 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004405/0.06069, allocations: 4.221 MB / 432.2 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007678/0.06146, allocations: 0.6484 MB / 432.9 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.06364, allocations: 1.744 MB / 434.6 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002574/0.06622, allocations: 3.6 MB / 438.2 MB, free: 6.352 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.06775, allocations: 2.267 MB / 440.5 MB, free: 4.078 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1471/0.2148, allocations: 7.551 MB / 448.1 MB, free: 69.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2148, allocations: 0 / 448.1 MB, free: 69.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2148, allocations: 3.125 kB / 448.1 MB, free: 69.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002784/0.2151, allocations: 0 / 448.1 MB, free: 69.15 MB / 410.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.009424/0.2245, allocations: 8.115 MB / 456.2 MB, free: 66.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2246, allocations: 9.25 kB / 456.2 MB, free: 66.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006461/0.231, allocations: 2.703 MB / 458.9 MB, free: 65.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004833/0.2359, allocations: 3.733 MB / 462.6 MB, free: 64.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.236, allocations: 383.4 kB / 463 MB, free: 64.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000678/0.2367, allocations: 0.509 MB / 463.5 MB, free: 64.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009557/0.2463, allocations: 8.237 MB / 471.7 MB, free: 61.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/0.2464, allocations: 69.05 kB / 471.8 MB, free: 61.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004461/0.2469, allocations: 234.2 kB / 472 MB, free: 61.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001892/0.2488, allocations: 2.306 MB / 474.3 MB, free: 61.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007379/0.2561, allocations: 3.825 MB / 478.2 MB, free: 60.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03802/0.2942, allocations: 58.79 MB / 0.5244 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00635/0.3005, allocations: 2.896 MB / 0.5272 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.3016, allocations: 0.7989 MB / 0.528 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009647/0.3112, allocations: 7.129 MB / 0.5349 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.3113, allocations: 57.17 kB / 0.535 GB, free: 10.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 3.787e-06/0.3113, allocations: 3.625 kB / 0.535 GB, free: 10.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.03417/0.3454, allocations: 14.25 MB / 0.5489 GB, free: 16.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.3455, allocations: 243.4 kB / 0.5492 GB, free: 16.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004604/0.3501, allocations: 4.904 MB / 0.5539 GB, free: 12.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003072/0.3504, allocations: 69.7 kB / 0.554 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002591/0.353, allocations: 4.814 MB / 0.5587 GB, free: 7.551 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009743/0.354, allocations: 1.249 MB / 0.5599 GB, free: 6.367 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001659/0.3557, allocations: 1.832 MB / 0.5617 GB, free: 4.707 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.3558, allocations: 480.8 kB / 0.5622 GB, free: 4.234 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.3573, allocations: 0.9535 MB / 0.5631 GB, free: 3.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005281/0.3625, allocations: 7.939 MB / 0.5709 GB, free: 8.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007661/0.3702, allocations: 9.627 MB / 0.5803 GB, free: 12.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001184/0.3703, allocations: 48 kB / 0.5803 GB, free: 12.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01209/0.3824, allocations: 7.438 MB / 0.5876 GB, free: 4.898 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.84e-05/0.3825, allocations: 72 kB / 0.5876 GB, free: 4.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/0.3826, allocations: 168 kB / 0.5878 GB, free: 4.664 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004153/0.3868, allocations: 1.476 MB / 0.5892 GB, free: 3.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003379/0.3902, allocations: 1.825 MB / 0.591 GB, free: 1.363 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006776/0.3969, allocations: 5.469 MB / 0.5964 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/0.4015, allocations: 347.7 kB / 0.5967 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007995/0.4023, allocations: 416 kB / 0.5971 GB, free: 11.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * 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 (1031): * Single equations (assignments): 1027 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002374/0.4046, allocations: 0.8247 MB / 0.5979 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.4056, allocations: 0.59 MB / 0.5985 GB, free: 9.695 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00478/0.4104, allocations: 2.789 MB / 0.6012 GB, free: 6.852 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/0.4104, allocations: 32 kB / 0.6012 GB, free: 6.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.4105, allocations: 16 kB / 0.6012 GB, free: 6.805 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/0.4105, allocations: 15.94 kB / 0.6013 GB, free: 6.789 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.182/0.5925, allocations: 9.552 MB / 0.6106 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-05/0.5925, allocations: 13.19 kB / 0.6106 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.5936, allocations: 430.1 kB / 0.611 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003539/0.5972, allocations: 1.227 MB / 0.6122 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003018/0.5975, allocations: 70.25 kB / 0.6123 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004936/0.6024, allocations: 4.276 MB / 0.6164 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.6024, allocations: 21.09 kB / 0.6165 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005931/0.6084, allocations: 4.476 MB / 0.6208 GB, free: 132.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.6095, allocations: 0.5028 MB / 0.6213 GB, free: 132.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000517/0.61, allocations: 67.75 kB / 0.6214 GB, free: 132.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.6112, allocations: 70.05 kB / 0.6215 GB, free: 132.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/0.6115, allocations: 237.5 kB / 0.6217 GB, free: 132.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.6116, allocations: 73.16 kB / 0.6218 GB, free: 132.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002164/0.6138, allocations: 2.047 MB / 0.6238 GB, free: 131.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6138, allocations: 0 / 0.6238 GB, free: 131.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005468/0.6193, allocations: 1.743 MB / 0.6255 GB, free: 131.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (251): * Single equations (assignments): 247 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006012/0.6199, allocations: 279.8 kB / 0.6257 GB, free: 131.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004807/0.6247, allocations: 4.227 MB / 0.6299 GB, free: 131.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.6247, allocations: 0 / 0.6299 GB, free: 131.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.626, allocations: 1.316 MB / 0.6311 GB, free: 131 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/0.6285, allocations: 0.6837 MB / 0.6318 GB, free: 130.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.6448, allocations: 12.18 MB / 0.6437 GB, free: 125.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.6469, allocations: 1.977 MB / 0.6456 GB, free: 125.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002118/0.649, allocations: 0.7186 MB / 0.6463 GB, free: 124.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.6503, allocations: 0.8611 MB / 0.6472 GB, free: 124.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6503, allocations: 0 / 0.6472 GB, free: 124.8 MB / 474.7 MB Notification: Performance of Templates: time 0.07615/0.7264, allocations: 62.19 MB / 0.7079 GB, free: 74.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 4.951314752921462]