Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001806/0.001806, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002185/0.002185, allocations: 212.4 kB / 23.74 MB, free: 4.656 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.727/1.727, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.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.2502/0.2502, allocations: 46.94 MB / 360.8 MB, free: 4.23 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.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.88 kB / 0.4966 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4043, allocations: 66.03 MB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003038/0.4073, allocations: 1.689 MB / 0.5628 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002999/0.4076, allocations: 95.69 kB / 0.5629 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.4077, allocations: 7.938 kB / 0.5629 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.253e-05/0.4077, allocations: 15.86 kB / 0.5629 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.4079, allocations: 39.69 kB / 0.5629 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.408, allocations: 23.92 kB / 0.5629 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.4082, allocations: 131.4 kB / 0.5631 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.4083, allocations: 25.3 kB / 0.5631 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.4084, allocations: 51.8 kB / 0.5631 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.852e-05/0.4085, allocations: 51.77 kB / 0.5632 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.4085, allocations: 8 kB / 0.5632 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.4086, allocations: 16 kB / 0.5632 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.4086, allocations: 23.92 kB / 0.5632 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.957e-05/0.4087, allocations: 55.73 kB / 0.5633 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.4089, allocations: 121.9 kB / 0.5634 GB, free: 2.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.4089, allocations: 3.984 kB / 0.5634 GB, free: 2.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4089, allocations: 4 kB / 0.5634 GB, free: 2.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.4089, allocations: 0 / 0.5634 GB, free: 2.039 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005489/0.4095, allocations: 330.1 kB / 0.5637 GB, free: 1.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4095, allocations: 8.031 kB / 0.5637 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.4095, allocations: 16.89 kB / 0.5637 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.4097, allocations: 134.4 kB / 0.5639 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.4098, allocations: 8.609 kB / 0.5639 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.4098, allocations: 12.38 kB / 0.5639 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.41, allocations: 141.5 kB / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.4101, allocations: 4.141 kB / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.4101, allocations: 7.938 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.4101, allocations: 4 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.4102, allocations: 51.97 kB / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.411, allocations: 499.5 kB / 0.5646 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.4111, allocations: 89.16 kB / 0.5647 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.4112, allocations: 29.8 kB / 0.5647 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.4112, allocations: 3.938 kB / 0.5647 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.4112, allocations: 34.56 kB / 0.5647 GB, free: 0.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.4112, allocations: 0 / 0.5647 GB, free: 0.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005624/0.4118, allocations: 147.2 kB / 0.5649 GB, free: 396 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.4119, allocations: 81.05 kB / 0.5649 GB, free: 296 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.412, allocations: 129.7 kB / 0.5651 GB, free: 156 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.412, allocations: 29.7 kB / 0.5651 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.761e-05/0.4121, allocations: 116 kB / 0.5652 GB, free: 16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.4121, allocations: 39.67 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.4122, allocations: 29.72 kB / 0.5653 GB, free: 15.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.4124, allocations: 318.6 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.4124, allocations: 31.98 kB / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.784e-05/0.4125, allocations: 80.58 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.4127, allocations: 120.5 kB / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4127, allocations: 4 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002819/0.413, allocations: 167.1 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.413, allocations: 4 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.413, allocations: 7.938 kB / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.4132, allocations: 33.7 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.4133, allocations: 32.17 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.4156, allocations: 2.531 MB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.194e-05/0.4157, allocations: 7.938 kB / 0.5685 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.4157, allocations: 7.984 kB / 0.5685 GB, free: 12.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.4158, allocations: 126.4 kB / 0.5686 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.4159, allocations: 15.83 kB / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.4159, allocations: 12 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.4159, allocations: 4.062 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4159, allocations: 0 / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4159, allocations: 0 / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.4162, allocations: 180.6 kB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4162, allocations: 3.938 kB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.208e-05/0.4163, allocations: 12 kB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.4164, allocations: 37.64 kB / 0.5689 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.4164, allocations: 7.984 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.4185, allocations: 2.519 MB / 0.5714 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4185, allocations: 4.156 kB / 0.5714 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.4188, allocations: 304.3 kB / 0.5717 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.4188, allocations: 7.953 kB / 0.5717 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.4188, allocations: 3.938 kB / 0.5717 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4189, allocations: 12 kB / 0.5717 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.4189, allocations: 8.031 kB / 0.5717 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.4189, allocations: 4 kB / 0.5717 GB, free: 8.719 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.495e-05/0.419, allocations: 91.27 kB / 0.5718 GB, free: 8.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.419, allocations: 0 / 0.5718 GB, free: 8.629 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.4194, allocations: 39.89 kB / 0.5718 GB, free: 8.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001267/0.4195, allocations: 99.19 kB / 0.5719 GB, free: 8.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005052/0.42, allocations: 305.5 kB / 0.5722 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.42, allocations: 0 / 0.5722 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.4203, allocations: 261.2 kB / 0.5724 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.4208, allocations: 24.94 kB / 0.5725 GB, free: 7.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008391/0.4217, allocations: 481 kB / 0.5729 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.4221, allocations: 0.7084 MB / 0.5736 GB, free: 6.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.849e-05/0.4221, allocations: 8.969 kB / 0.5736 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.4221, allocations: 11.44 kB / 0.5736 GB, free: 6.594 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4221, allocations: 0 / 0.5736 GB, free: 6.594 MB / 414.1 MB Notification: Performance of Templates: time 0.005148/0.4273, allocations: 1.596 MB / 0.5752 GB, free: 5.012 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 5.580631001852453]