Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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.0009361/0.0009361, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.000937/0.000937, allocations: 166.1 kB / 25.7 MB, free: 8.387 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.8471/0.8471, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.497e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01177/0.0118, allocations: 16.3 MB / 267.8 MB, free: 6.871 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009496/0.0213, allocations: 5.594 MB / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.0231, allocations: 143.2 kB / 273.6 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00443/0.02753, allocations: 4.695 MB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004319/0.03185, allocations: 2.989 MB / 281.3 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.03394, allocations: 1.673 MB / 282.9 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007764/0.0417, allocations: 9.406 MB / 292.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005413/0.04712, allocations: 5.754 MB / 298.1 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005639/0.05275, allocations: 4.853 MB / 302.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003896/0.05665, allocations: 4.26 MB / 307.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006457/0.0573, allocations: 0.5508 MB / 307.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.0592, allocations: 1.576 MB / 309.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002211/0.06142, allocations: 3.662 MB / 313 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.06331, allocations: 2.224 MB / 315.2 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005714/0.06902, allocations: 7.641 MB / 322.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.06902, allocations: 0 / 322.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.06902, allocations: 0 / 322.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001011/0.06913, allocations: 3.938 kB / 322.9 MB, free: 15.62 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.01414/0.08327, allocations: 7.558 MB / 330.4 MB, free: 7.984 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.08332, allocations: 15.98 kB / 330.4 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007826/0.09114, allocations: 1.803 MB / 332.2 MB, free: 6.164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.1013, allocations: 3.529 MB / 335.8 MB, free: 2.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003915/0.1017, allocations: 365.8 kB / 336.1 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/0.1041, allocations: 0.5229 MB / 336.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02358/0.1277, allocations: 8.096 MB / 344.7 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003154/0.128, allocations: 75.38 kB / 344.8 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001281/0.1293, allocations: 243.8 kB / 345.1 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003948/0.1332, allocations: 2.642 MB / 347.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/0.1502, allocations: 4.143 MB / 351.8 MB, free: 1.277 MB / 330.7 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.168/0.3183, allocations: 49.08 MB / 400.9 MB, free: 52.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007858/0.3261, allocations: 3.669 MB / 404.6 MB, free: 49.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.3273, allocations: 0.8427 MB / 405.4 MB, free: 48.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.3381, allocations: 8.031 MB / 413.5 MB, free: 40.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.3382, allocations: 64.55 kB / 413.5 MB, free: 40.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=259): time 5.731e-06/0.3382, allocations: 0 / 413.5 MB, free: 40.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=332): time 0.04647/0.3847, allocations: 19.68 MB / 433.2 MB, free: 21.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.3847, allocations: 265.5 kB / 433.5 MB, free: 21.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/0.3888, allocations: 4.957 MB / 438.4 MB, free: 16.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003069/0.3891, allocations: 77.7 kB / 438.5 MB, free: 16.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.3904, allocations: 4.552 MB / 443.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007169/0.3911, allocations: 1.279 MB / 444.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.3924, allocations: 1.772 MB / 446.1 MB, free: 9.012 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.723e-05/0.3925, allocations: 304.6 kB / 446.4 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/0.3944, allocations: 1.332 MB / 447.7 MB, free: 7.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003338/0.3977, allocations: 6.691 MB / 454.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007181/0.4049, allocations: 8.781 MB / 463.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/0.405, allocations: 56 kB / 463.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.01351/0.4185, allocations: 7.627 MB / 470.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/0.4186, allocations: 86.62 kB / 471 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001797/0.4188, allocations: 192 kB / 471.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005258/0.4241, allocations: 1.954 MB / 473.1 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004481/0.4285, allocations: 2.078 MB / 475.2 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009329/0.4379, allocations: 6.812 MB / 482 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005422/0.4433, allocations: 403.7 kB / 482.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/0.4443, allocations: 476 kB / 482.9 MB, free: 14.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1158): * Single equations (assignments): 1153 * 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,29,100.0%), (4,32,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002258/0.4466, allocations: 0.8942 MB / 483.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009772/0.4476, allocations: 387.6 kB / 484.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005915/0.4535, allocations: 3.199 MB / 487.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/0.4535, allocations: 36 kB / 487.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/0.4535, allocations: 16 kB / 487.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.4536, allocations: 15.95 kB / 487.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/0.4698, allocations: 8.603 MB / 496 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/0.4698, allocations: 8 kB / 496 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.471, allocations: 444.1 kB / 496.4 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1292/0.6002, allocations: 1.898 MB / 498.3 MB, free: 118.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005532/0.6008, allocations: 63.94 kB / 498.4 MB, free: 118.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007292/0.6081, allocations: 5.702 MB / 0.4923 GB, free: 116 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.6081, allocations: 10.44 kB / 0.4923 GB, free: 116 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007202/0.6153, allocations: 4.285 MB / 0.4965 GB, free: 114.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/0.6171, allocations: 0.799 MB / 0.4973 GB, free: 114.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006845/0.6178, allocations: 60.05 kB / 0.4973 GB, free: 114.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.619, allocations: 68.66 kB / 0.4974 GB, free: 114.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004854/0.6195, allocations: 225.5 kB / 0.4976 GB, free: 114.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.6197, allocations: 70.06 kB / 0.4977 GB, free: 114.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00206/0.6217, allocations: 1.908 MB / 0.4995 GB, free: 114.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6217, allocations: 0 / 0.4995 GB, free: 114.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005357/0.6271, allocations: 1.963 MB / 0.5015 GB, free: 114.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (255): * Single equations (assignments): 250 * 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 {(4,28,62.5%), (1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005348/0.6276, allocations: 235.4 kB / 0.5017 GB, free: 114.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00531/0.6329, allocations: 4.515 MB / 0.5061 GB, free: 114 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002392/0.6332, allocations: 125.1 kB / 0.5062 GB, free: 114 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.635, allocations: 1.405 MB / 0.5076 GB, free: 113.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/0.6387, allocations: 1.007 MB / 0.5086 GB, free: 113.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.6534, allocations: 12.33 MB / 0.5206 GB, free: 103.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/0.6553, allocations: 1.998 MB / 0.5226 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002361/0.6576, allocations: 0.7838 MB / 0.5233 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/0.659, allocations: 0.8729 MB / 0.5242 GB, free: 100.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.954e-06/0.659, allocations: 0 / 0.5242 GB, free: 100.9 MB / 378.7 MB Notification: Performance of Templates: time 0.08478/0.7438, allocations: 74.03 MB / 0.5965 GB, free: 27.05 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.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.659529248718172]