Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001719/0.001719, allocations: 71.59 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.001658/0.001658, allocations: 159.5 kB / 24.5 MB, free: 3.723 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.442/1.442, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2111/0.2111, allocations: 34.28 MB / 295.5 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 71.88 kB / 443.2 MB, free: 6.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3294, allocations: 66.01 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008278/0.3376, allocations: 9.03 MB / 0.506 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006345/0.344, allocations: 3.609 MB / 0.5096 GB, free: 21.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.3451, allocations: 66.91 kB / 0.5096 GB, free: 21.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.3482, allocations: 1.906 MB / 0.5115 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.352, allocations: 1.678 MB / 0.5131 GB, free: 20.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.3535, allocations: 0.6081 MB / 0.5137 GB, free: 19.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004526/0.358, allocations: 3.368 MB / 0.517 GB, free: 18.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/0.3607, allocations: 2.107 MB / 0.5191 GB, free: 17.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.3627, allocations: 1.258 MB / 0.5203 GB, free: 17.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/0.3653, allocations: 1.721 MB / 0.522 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006431/0.3659, allocations: 255 kB / 0.5222 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.3681, allocations: 0.9225 MB / 0.5231 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.3701, allocations: 1.595 MB / 0.5247 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.3719, allocations: 1.336 MB / 0.526 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008147/0.3801, allocations: 5.824 MB / 0.5317 GB, free: 12.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3801, allocations: 1.344 kB / 0.5317 GB, free: 12.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3801, allocations: 0 / 0.5317 GB, free: 12.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002444/0.3803, allocations: 0 / 0.5317 GB, free: 12.46 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01054/0.3909, allocations: 4.028 MB / 0.5356 GB, free: 9.617 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3909, allocations: 13.95 kB / 0.5356 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006913/0.3978, allocations: 1.837 MB / 0.5374 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004516/0.4024, allocations: 1.879 MB / 0.5393 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.4025, allocations: 188.2 kB / 0.5394 GB, free: 7.352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005191/0.403, allocations: 261.4 kB / 0.5397 GB, free: 7.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.4159, allocations: 8.5 MB / 0.548 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-05/0.416, allocations: 51.56 kB / 0.548 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/0.4163, allocations: 119.9 kB / 0.5481 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002755/0.4191, allocations: 1.695 MB / 0.5498 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.4337, allocations: 7.086 MB / 0.5567 GB, free: 7.93 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04603/0.4798, allocations: 32.14 MB / 0.5881 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008168/0.4879, allocations: 2.825 MB / 0.5909 GB, free: 3.945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/0.4902, allocations: 1.365 MB / 0.5922 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007923/0.4981, allocations: 3.33 MB / 0.5955 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.309e-05/0.4982, allocations: 47.22 kB / 0.5955 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.759e-06/0.4982, allocations: 0 / 0.5955 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03223/0.5304, allocations: 11.81 MB / 0.607 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.5306, allocations: 170.8 kB / 0.6072 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00541/0.536, allocations: 3.427 MB / 0.6105 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003635/0.5363, allocations: 41.7 kB / 0.6106 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002648/0.539, allocations: 2.886 MB / 0.6134 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007863/0.5398, allocations: 0.5428 MB / 0.6139 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001719/0.5415, allocations: 1.088 MB / 0.615 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5416, allocations: 308.9 kB / 0.6153 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002947/0.5446, allocations: 1.713 MB / 0.617 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006394/0.551, allocations: 5.157 MB / 0.622 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/0.5625, allocations: 7.424 MB / 0.6292 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/0.5626, allocations: 36 kB / 0.6293 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01365/0.5762, allocations: 6.715 MB / 0.6358 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.5764, allocations: 56 kB / 0.6359 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/0.5765, allocations: 123.9 kB / 0.636 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007016/0.5772, allocations: 321.3 kB / 0.6363 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004199/0.5814, allocations: 1.248 MB / 0.6375 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.5845, allocations: 2.366 MB / 0.6398 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/0.5883, allocations: 291.6 kB / 0.6401 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008207/0.5891, allocations: 336 kB / 0.6404 GB, free: 13.38 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (668): * Single equations (assignments): 664 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003484/0.5926, allocations: 1.784 MB / 0.6422 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007046/0.5933, allocations: 290.1 kB / 0.6425 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/0.5986, allocations: 2.324 MB / 0.6447 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.351e-05/0.5987, allocations: 16 kB / 0.6447 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.5987, allocations: 4 kB / 0.6447 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.5987, allocations: 3.984 kB / 0.6448 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.6122, allocations: 5.113 MB / 0.6497 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/0.6122, allocations: 3.984 kB / 0.6498 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009541/0.6131, allocations: 171.8 kB / 0.6499 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/0.6155, allocations: 0.7185 MB / 0.6506 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/0.6157, allocations: 20 kB / 0.6506 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006791/0.6225, allocations: 4.652 MB / 0.6552 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6225, allocations: 4 kB / 0.6552 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007726/0.6302, allocations: 4.313 MB / 0.6594 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00089/0.6311, allocations: 250 kB / 0.6596 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005938/0.6317, allocations: 24 kB / 0.6597 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.633, allocations: 75.88 kB / 0.6597 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.6332, allocations: 68.47 kB / 0.6598 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.6333, allocations: 39.98 kB / 0.6598 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004212/0.6375, allocations: 1.963 MB / 0.6617 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6375, allocations: 0 / 0.6617 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006275/0.6438, allocations: 0.7929 MB / 0.6625 GB, free: 6.543 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007078/0.6445, allocations: 151 kB / 0.6627 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007716/0.6522, allocations: 3.905 MB / 0.6665 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.6522, allocations: 0 / 0.6665 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.6539, allocations: 1.042 MB / 0.6675 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.6564, allocations: 338.2 kB / 0.6678 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/0.6711, allocations: 7.383 MB / 0.675 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004235/0.6754, allocations: 2.244 MB / 0.6772 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004479/0.6799, allocations: 1.607 MB / 0.6788 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008338/0.6807, allocations: 192.5 kB / 0.679 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of SimCode: time 9.91e-07/0.6807, allocations: 4 kB / 0.679 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of Templates: time 0.2846/0.9653, allocations: 24.41 MB / 0.7028 GB, free: 166.9 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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: 6.696328324032947]