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: 75.03 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.001487/0.001487, allocations: 161 kB / 24.5 MB, free: 3.715 MB / 14.72 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 1.457/1.457, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] 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.2027/0.2027, allocations: 32.81 MB / 294.1 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 63.91 kB / 440.6 MB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3349, allocations: 65.44 MB / 0.4941 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01207/0.347, allocations: 13.91 MB / 0.5077 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009942/0.3569, allocations: 5.223 MB / 0.5128 GB, free: 19.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.3598, allocations: 132.8 kB / 0.5129 GB, free: 18.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00863/0.3684, allocations: 4.963 MB / 0.5178 GB, free: 16.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007858/0.3763, allocations: 2.683 MB / 0.5204 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.3794, allocations: 1.397 MB / 0.5218 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01287/0.3923, allocations: 8.27 MB / 0.5299 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007438/0.3997, allocations: 5.171 MB / 0.5349 GB, free: 9.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005781/0.4055, allocations: 2.819 MB / 0.5377 GB, free: 8.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007756/0.4133, allocations: 3.77 MB / 0.5413 GB, free: 5.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002433/0.4157, allocations: 0.6381 MB / 0.542 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/0.4208, allocations: 1.669 MB / 0.5436 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004039/0.4248, allocations: 3.423 MB / 0.5469 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004894/0.4297, allocations: 2.786 MB / 0.5497 GB, free: 16 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01659/0.4463, allocations: 12.03 MB / 0.5614 GB, free: 3.938 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.4463, allocations: 0 / 0.5614 GB, free: 3.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.4463, allocations: 0 / 0.5614 GB, free: 3.938 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004428/0.4468, allocations: 0 / 0.5614 GB, free: 3.938 MB / 462.1 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.01981/0.4666, allocations: 8.006 MB / 0.5692 GB, free: 11.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4666, allocations: 12.03 kB / 0.5692 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/0.482, allocations: 3.222 MB / 0.5724 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/0.4947, allocations: 4.991 MB / 0.5773 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.495, allocations: 382.2 kB / 0.5776 GB, free: 3.16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/0.4964, allocations: 0.5075 MB / 0.5781 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03113/0.5275, allocations: 15.67 MB / 0.5934 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002002/0.5277, allocations: 63.53 kB / 0.5935 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006753/0.5284, allocations: 235.8 kB / 0.5937 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004269/0.5326, allocations: 2.548 MB / 0.5962 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03011/0.5628, allocations: 13.1 MB / 0.609 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08121/0.644, allocations: 52.78 MB / 0.6605 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01855/0.6625, allocations: 5.914 MB / 0.6663 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004893/0.6674, allocations: 3.235 MB / 0.6695 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01778/0.6852, allocations: 9.288 MB / 0.6785 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.409e-05/0.6853, allocations: 64.44 kB / 0.6786 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=248): time 5.931e-06/0.6853, allocations: 0 / 0.6786 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=343): time 0.3735/1.059, allocations: 40.23 MB / 0.7179 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/1.059, allocations: 253.3 kB / 0.7181 GB, free: 141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008272/1.067, allocations: 5.446 MB / 0.7234 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008759/1.068, allocations: 77.42 kB / 0.7235 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002631/1.071, allocations: 4.546 MB / 0.7279 GB, free: 136 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001783/1.072, allocations: 1.322 MB / 0.7292 GB, free: 135 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002989/1.075, allocations: 1.751 MB / 0.7309 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/1.075, allocations: 309.2 kB / 0.7312 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006312/1.082, allocations: 4.073 MB / 0.7352 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007713/1.089, allocations: 8.736 MB / 0.7437 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/1.103, allocations: 13.55 MB / 0.757 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/1.103, allocations: 48 kB / 0.757 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.02883/1.132, allocations: 16.3 MB / 0.7729 GB, free: 98.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/1.132, allocations: 72.94 kB / 0.773 GB, free: 98.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002074/1.132, allocations: 160 kB / 0.7732 GB, free: 98.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01272/1.145, allocations: 4.275 MB / 0.7773 GB, free: 93.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006106/1.151, allocations: 1.899 MB / 0.7792 GB, free: 91.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02785/1.179, allocations: 21.16 MB / 0.7999 GB, free: 70.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007639/1.187, allocations: 0.5034 MB / 0.8003 GB, free: 70.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001449/1.188, allocations: 488 kB / 0.8008 GB, free: 69.73 MB / 0.5762 GB 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.006199/1.194, allocations: 3.123 MB / 0.8039 GB, free: 66.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00164/1.196, allocations: 0.5045 MB / 0.8044 GB, free: 66.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0195/1.215, allocations: 10.02 MB / 0.8141 GB, free: 56.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-05/1.215, allocations: 39.94 kB / 0.8142 GB, free: 55.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/1.215, allocations: 16 kB / 0.8142 GB, free: 55.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.847e-05/1.215, allocations: 15.95 kB / 0.8142 GB, free: 55.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03599/1.251, allocations: 17.85 MB / 0.8316 GB, free: 37.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.891e-05/1.252, allocations: 4 kB / 0.8316 GB, free: 37.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/1.254, allocations: 0.5 MB / 0.8321 GB, free: 37.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01172/1.266, allocations: 3.838 MB / 0.8359 GB, free: 33.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005388/1.266, allocations: 60 kB / 0.8359 GB, free: 33.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02307/1.289, allocations: 18.75 MB / 0.8542 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/1.289, allocations: 8 kB / 0.8543 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02466/1.314, allocations: 14.85 MB / 0.8688 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/1.316, allocations: 488.4 kB / 0.8692 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009261/1.316, allocations: 67.66 kB / 0.8693 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002782/1.319, allocations: 227.7 kB / 0.8695 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000707/1.32, allocations: 242.1 kB / 0.8697 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002899/1.32, allocations: 95.98 kB / 0.8698 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005144/1.325, allocations: 3.232 MB / 0.873 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.325, allocations: 0 / 0.873 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007809/1.333, allocations: 1.754 MB / 0.8747 GB, free: 9.586 MB / 0.5919 GB 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.0007364/1.334, allocations: 254.4 kB / 0.8749 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01674/1.351, allocations: 9.335 MB / 0.8841 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/1.351, allocations: 4.938 kB / 0.8841 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006309/1.357, allocations: 3.444 MB / 0.8874 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004296/1.361, allocations: 0.6414 MB / 0.888 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02928/1.391, allocations: 16.2 MB / 0.9039 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006611/1.397, allocations: 4.331 MB / 0.9081 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006324/1.404, allocations: 2.524 MB / 0.9106 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.405, allocations: 332.5 kB / 0.9109 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of SimCode: time 1.072e-06/1.405, allocations: 0 / 0.9109 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of Templates: time 0.408/1.813, allocations: 70.88 MB / 0.9801 GB, free: 176.5 MB / 0.6387 GB " [Timeout remaining time 658] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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: 8.747285614022985]