Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001331/0.001331, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001476/0.001476, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.423/1.423, allocations: 177.2 MB / 204.9 MB, free: 9.07 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.2025/0.2025, allocations: 32.81 MB / 294.1 MB, free: 72 kB / 270.1 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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [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.002126/0.002126, allocations: 67.89 kB / 440.6 MB, free: 9.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3311, allocations: 65.44 MB / 0.4941 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01455/0.3456, allocations: 9.029 MB / 0.503 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007414/0.353, allocations: 3.603 MB / 0.5065 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.3554, allocations: 71.38 kB / 0.5066 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005498/0.3609, allocations: 1.902 MB / 0.5084 GB, free: 22.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004939/0.3658, allocations: 1.684 MB / 0.5101 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.3674, allocations: 0.6114 MB / 0.5107 GB, free: 21.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004781/0.3722, allocations: 3.359 MB / 0.5139 GB, free: 20.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00334/0.3755, allocations: 2.11 MB / 0.516 GB, free: 19.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.3779, allocations: 1.255 MB / 0.5172 GB, free: 18.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004459/0.3824, allocations: 1.725 MB / 0.5189 GB, free: 18.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001508/0.3839, allocations: 253.6 kB / 0.5191 GB, free: 18.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.3867, allocations: 0.9235 MB / 0.52 GB, free: 17.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002273/0.389, allocations: 1.591 MB / 0.5216 GB, free: 17.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002619/0.3916, allocations: 1.335 MB / 0.5229 GB, free: 16.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007735/0.3993, allocations: 5.822 MB / 0.5286 GB, free: 14.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3993, allocations: 0 / 0.5286 GB, free: 14.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3993, allocations: 0 / 0.5286 GB, free: 14.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001962/0.3995, allocations: 1.25 kB / 0.5286 GB, free: 14.23 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.01038/0.4099, allocations: 4.038 MB / 0.5325 GB, free: 11.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4099, allocations: 8.531 kB / 0.5325 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006848/0.4168, allocations: 1.834 MB / 0.5343 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005482/0.4223, allocations: 1.878 MB / 0.5362 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.4224, allocations: 188.7 kB / 0.5363 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007042/0.4231, allocations: 265.6 kB / 0.5366 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01574/0.4389, allocations: 8.497 MB / 0.5449 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.439, allocations: 42.72 kB / 0.5449 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003822/0.4394, allocations: 131.7 kB / 0.5451 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002359/0.4417, allocations: 1.695 MB / 0.5467 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/0.4556, allocations: 7.082 MB / 0.5536 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04553/0.5011, allocations: 32.14 MB / 0.585 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008264/0.5094, allocations: 2.837 MB / 0.5878 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/0.5118, allocations: 1.36 MB / 0.5891 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008204/0.52, allocations: 3.333 MB / 0.5924 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/0.52, allocations: 51.16 kB / 0.5924 GB, free: 2.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 4.759e-06/0.52, allocations: 0 / 0.5924 GB, free: 2.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.03417/0.5542, allocations: 11.81 MB / 0.604 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.5543, allocations: 166.9 kB / 0.6041 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006354/0.5607, allocations: 3.427 MB / 0.6075 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003042/0.561, allocations: 41.7 kB / 0.6075 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002634/0.5636, allocations: 2.887 MB / 0.6103 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009146/0.5645, allocations: 0.5428 MB / 0.6109 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002113/0.5666, allocations: 1.091 MB / 0.6119 GB, free: 14.31 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5668, allocations: 304.9 kB / 0.6122 GB, free: 14.02 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002874/0.5697, allocations: 1.713 MB / 0.6139 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005957/0.5756, allocations: 5.164 MB / 0.6189 GB, free: 5.398 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009657/0.5853, allocations: 7.428 MB / 0.6262 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/0.5854, allocations: 36 kB / 0.6262 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01294/0.5983, allocations: 6.707 MB / 0.6328 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.5985, allocations: 56 kB / 0.6328 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002095/0.5987, allocations: 123.9 kB / 0.6329 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007019/0.5994, allocations: 321.2 kB / 0.6332 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004425/0.6038, allocations: 1.248 MB / 0.6345 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/0.6068, allocations: 2.358 MB / 0.6368 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/0.611, allocations: 291.6 kB / 0.637 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009844/0.6119, allocations: 336 kB / 0.6374 GB, free: 0.6914 MB / 0.5294 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.004065/0.616, allocations: 1.788 MB / 0.6391 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008478/0.6168, allocations: 286.1 kB / 0.6394 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005376/0.6222, allocations: 2.328 MB / 0.6417 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/0.6223, allocations: 16.12 kB / 0.6417 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.6223, allocations: 8 kB / 0.6417 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.6223, allocations: 3.984 kB / 0.6417 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.6349, allocations: 5.121 MB / 0.6467 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.6349, allocations: 4 kB / 0.6467 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008735/0.6358, allocations: 171.8 kB / 0.6469 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0023/0.6381, allocations: 0.7108 MB / 0.6475 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.6382, allocations: 20 kB / 0.6476 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006796/0.645, allocations: 4.641 MB / 0.6521 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.645, allocations: 7.969 kB / 0.6521 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007645/0.6527, allocations: 4.312 MB / 0.6563 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009376/0.6536, allocations: 250.1 kB / 0.6566 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000593/0.6542, allocations: 24 kB / 0.6566 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.6555, allocations: 71.89 kB / 0.6566 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.6558, allocations: 76.39 kB / 0.6567 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.6559, allocations: 39.98 kB / 0.6568 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004119/0.66, allocations: 1.963 MB / 0.6587 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.66, allocations: 0 / 0.6587 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005095/0.6651, allocations: 0.7929 MB / 0.6595 GB, free: 9.852 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.0004239/0.6655, allocations: 147.3 kB / 0.6596 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006619/0.6721, allocations: 3.912 MB / 0.6634 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.6721, allocations: 0.5625 kB / 0.6634 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.6737, allocations: 1.046 MB / 0.6644 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.6759, allocations: 337.1 kB / 0.6648 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.6895, allocations: 7.387 MB / 0.672 GB, free: 12.99 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003122/0.6926, allocations: 2.24 MB / 0.6742 GB, free: 10.72 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003697/0.6963, allocations: 1.603 MB / 0.6757 GB, free: 9.113 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.6968, allocations: 192.5 kB / 0.6759 GB, free: 8.922 MB / 0.5763 GB Notification: Performance of SimCode: time 8.92e-07/0.6968, allocations: 0 / 0.6759 GB, free: 8.922 MB / 0.5763 GB Notification: Performance of Templates: time 0.05547/0.7523, allocations: 24.41 MB / 0.6997 GB, free: 0.8984 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.575428745010868]