Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.0008324/0.0008324, allocations: 84.44 kB / 20.7 MB, free: 3.863 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.000776/0.000776, allocations: 169.9 kB / 23.96 MB, free: 0.5938 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.7869/0.7869, allocations: 158.6 MB / 185.7 MB, free: 3.031 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.1152/0.1152, allocations: 32.36 MB / 270.3 MB, free: 14.97 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.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 408.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.024e-05, allocations: 6.078 kB / 408.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.00877/0.00879, allocations: 13.1 MB / 421.2 MB, free: 4.562 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0067/0.01549, allocations: 4.801 MB / 426 MB, free: 15.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.01649, allocations: 119.4 kB / 426.1 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.01987, allocations: 4.123 MB / 430.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.02273, allocations: 2.519 MB / 432.8 MB, free: 8.957 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.02408, allocations: 1.279 MB / 434.1 MB, free: 7.676 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004122/0.0282, allocations: 6.865 MB / 440.9 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003212/0.03141, allocations: 4.316 MB / 445.2 MB, free: 12.41 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.03412, allocations: 3.356 MB / 448.6 MB, free: 9.047 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00276/0.03688, allocations: 3.297 MB / 451.9 MB, free: 5.742 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004182/0.0373, allocations: 468 kB / 452.3 MB, free: 5.285 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.03878, allocations: 1.502 MB / 453.8 MB, free: 3.781 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.04046, allocations: 2.934 MB / 456.8 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.04162, allocations: 1.807 MB / 458.6 MB, free: 15.03 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00592/0.04754, allocations: 9.645 MB / 468.2 MB, free: 5.348 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.04755, allocations: 0 / 468.2 MB, free: 5.348 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.04755, allocations: 4 kB / 468.2 MB, free: 5.344 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.413e-05/0.04761, allocations: 0 / 468.2 MB, free: 5.344 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.1597/0.2074, allocations: 6.892 MB / 475.1 MB, free: 95.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2074, allocations: 9.656 kB / 475.1 MB, free: 95.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.2189, allocations: 3.424 MB / 478.6 MB, free: 94.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005219/0.2241, allocations: 4.159 MB / 482.7 MB, free: 93.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.2242, allocations: 312.1 kB / 483 MB, free: 93.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004667/0.2247, allocations: 423.2 kB / 483.4 MB, free: 92.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/0.2364, allocations: 14.06 MB / 497.5 MB, free: 86.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.015e-05/0.2365, allocations: 63 kB / 497.6 MB, free: 86.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003172/0.2368, allocations: 204.3 kB / 497.8 MB, free: 86.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002478/0.2393, allocations: 2.517 MB / 0.4886 GB, free: 86.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.2544, allocations: 11.8 MB / 0.5001 GB, free: 82.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02963/0.284, allocations: 49.94 MB / 0.5488 GB, free: 33.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007862/0.2919, allocations: 5.476 MB / 0.5542 GB, free: 28.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.2941, allocations: 3.279 MB / 0.5574 GB, free: 25.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.3049, allocations: 13.02 MB / 0.5701 GB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3049, allocations: 60.55 kB / 0.5702 GB, free: 11.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=230): time 4.048e-06/0.3049, allocations: 0 / 0.5702 GB, free: 11.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=267): time 0.04701/0.3519, allocations: 29.76 MB / 0.5992 GB, free: 14.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.563e-05/0.352, allocations: 265.3 kB / 0.5995 GB, free: 13.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00424/0.3562, allocations: 5.049 MB / 0.6044 GB, free: 8.848 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.3564, allocations: 69.69 kB / 0.6045 GB, free: 8.773 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001608/0.358, allocations: 4.041 MB / 0.6084 GB, free: 4.695 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006638/0.3587, allocations: 1.035 MB / 0.6094 GB, free: 3.652 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/0.3599, allocations: 1.529 MB / 0.6109 GB, free: 2.117 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.36, allocations: 301.1 kB / 0.6112 GB, free: 1.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002658/0.3627, allocations: 3.002 MB / 0.6141 GB, free: 14.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00451/0.3672, allocations: 7.432 MB / 0.6214 GB, free: 5.242 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008093/0.3753, allocations: 11.09 MB / 0.6322 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.422e-05/0.3753, allocations: 44 kB / 0.6323 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.0111/0.3864, allocations: 11.15 MB / 0.6432 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.134e-05/0.3865, allocations: 68.94 kB / 0.6432 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-05/0.3866, allocations: 152 kB / 0.6434 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/0.3882, allocations: 1.231 MB / 0.6446 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/0.3916, allocations: 1.825 MB / 0.6463 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006546/0.3981, allocations: 8.065 MB / 0.6542 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/0.4016, allocations: 495.3 kB / 0.6547 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003999/0.402, allocations: 452 kB / 0.6551 GB, free: 380 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (951): * Single equations (assignments): 946 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1731/0.5751, allocations: 2.637 MB / 0.6577 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007574/0.5759, allocations: 446 kB / 0.6581 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.5805, allocations: 5.193 MB / 0.6632 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.5805, allocations: 29.59 kB / 0.6632 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5805, allocations: 6 kB / 0.6632 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.5805, allocations: 10.22 kB / 0.6632 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.5907, allocations: 10.21 MB / 0.6732 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.5907, allocations: 3.312 kB / 0.6732 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.5919, allocations: 0.4965 MB / 0.6737 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.5932, allocations: 0.9837 MB / 0.6747 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.5934, allocations: 54.03 kB / 0.6747 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004763/0.5981, allocations: 7.441 MB / 0.682 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5981, allocations: 1.281 kB / 0.682 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007864/0.606, allocations: 8.703 MB / 0.6905 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.6075, allocations: 0.8361 MB / 0.6913 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/0.6078, allocations: 45.48 kB / 0.6913 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.6091, allocations: 237.7 kB / 0.6916 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/0.6094, allocations: 161.9 kB / 0.6917 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.6095, allocations: 79.72 kB / 0.6918 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00333/0.6128, allocations: 2.98 MB / 0.6947 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.6128, allocations: 0 / 0.6947 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004019/0.6169, allocations: 1.51 MB / 0.6962 GB, free: 139.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (227): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004242/0.6173, allocations: 219.4 kB / 0.6964 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006833/0.6241, allocations: 7 MB / 0.7032 GB, free: 137 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6241, allocations: 5.031 kB / 0.7032 GB, free: 137 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002008/0.6261, allocations: 2.371 MB / 0.7055 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.6278, allocations: 0.5255 MB / 0.7061 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.6407, allocations: 13.5 MB / 0.7192 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002725/0.6435, allocations: 3.568 MB / 0.7227 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008933/0.6443, allocations: 370 kB / 0.7231 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/0.6443, allocations: 0 / 0.7231 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.08119/0.7255, allocations: 127.2 MB / 0.8473 GB, free: 12.93 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.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: 9.292048821225762]