Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001826/0.001826, allocations: 71.75 kB / 21.24 MB, free: 404 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.002224/0.002224, allocations: 168.9 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.489/1.489, allocations: 177.2 MB / 204.9 MB, free: 9.043 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.2034/0.2034, allocations: 32.8 MB / 294.1 MB, free: 60 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.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [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.00219/0.00219, allocations: 63.91 kB / 440.6 MB, free: 9.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4048, allocations: 65.45 MB / 0.4941 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003475/0.4082, allocations: 2.654 MB / 0.4967 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.4094, allocations: 0.7432 MB / 0.4975 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.4096, allocations: 10.12 kB / 0.4975 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.4097, allocations: 55.09 kB / 0.4975 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.41, allocations: 130.4 kB / 0.4976 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.4102, allocations: 113.7 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.4106, allocations: 441.1 kB / 0.4982 GB, free: 28.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.4108, allocations: 98.56 kB / 0.4983 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.4111, allocations: 182.2 kB / 0.4984 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.4113, allocations: 152.5 kB / 0.4986 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.4114, allocations: 32.09 kB / 0.4986 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-05/0.4115, allocations: 39.16 kB / 0.4987 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.4115, allocations: 81.72 kB / 0.4987 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.4117, allocations: 163.6 kB / 0.4989 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.4121, allocations: 442.7 kB / 0.4993 GB, free: 28.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4121, allocations: 2.844 kB / 0.4993 GB, free: 28.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4121, allocations: 0 / 0.4993 GB, free: 28.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.4121, allocations: 0 / 0.4993 GB, free: 28.15 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008457/0.413, allocations: 0.5857 MB / 0.4999 GB, free: 27.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.413, allocations: 13.31 kB / 0.4999 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.4133, allocations: 56.19 kB / 0.5 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.4136, allocations: 226.3 kB / 0.5002 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.4136, allocations: 29.12 kB / 0.5002 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/0.4137, allocations: 41.61 kB / 0.5002 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.4143, allocations: 392.1 kB / 0.5006 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.4143, allocations: 15.17 kB / 0.5006 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.4143, allocations: 15.22 kB / 0.5006 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.4144, allocations: 12.44 kB / 0.5007 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.4147, allocations: 219.5 kB / 0.5009 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.4165, allocations: 1.549 MB / 0.5024 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.4169, allocations: 257.7 kB / 0.5026 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.4171, allocations: 85.56 kB / 0.5027 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.4171, allocations: 13.89 kB / 0.5027 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.4171, allocations: 37.28 kB / 0.5027 GB, free: 25.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.4171, allocations: 0 / 0.5027 GB, free: 25.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006458/0.4178, allocations: 271.6 kB / 0.503 GB, free: 25.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.4178, allocations: 220.1 kB / 0.5032 GB, free: 25.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.418, allocations: 262.7 kB / 0.5035 GB, free: 25.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.4181, allocations: 32.58 kB / 0.5035 GB, free: 25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4182, allocations: 248.4 kB / 0.5037 GB, free: 24.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/0.4182, allocations: 133 kB / 0.5039 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.4183, allocations: 95.77 kB / 0.504 GB, free: 24.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.4184, allocations: 347.1 kB / 0.5043 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.4186, allocations: 101.7 kB / 0.5044 GB, free: 24.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.4189, allocations: 436.8 kB / 0.5048 GB, free: 23.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/0.4194, allocations: 0.5661 MB / 0.5054 GB, free: 23.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.4194, allocations: 9.719 kB / 0.5054 GB, free: 23.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007344/0.4201, allocations: 0.522 MB / 0.5059 GB, free: 23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4202, allocations: 9.344 kB / 0.5059 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4202, allocations: 12.56 kB / 0.5059 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.4202, allocations: 15.97 kB / 0.5059 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.4206, allocations: 147.8 kB / 0.506 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.4206, allocations: 19.72 kB / 0.5061 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.4209, allocations: 65.42 kB / 0.5061 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.421, allocations: 31.31 kB / 0.5062 GB, free: 22.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.4211, allocations: 180.5 kB / 0.5063 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.4213, allocations: 34.81 kB / 0.5064 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.03e-05/0.4213, allocations: 38.09 kB / 0.5064 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4213, allocations: 6.344 kB / 0.5064 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4213, allocations: 240 / 0.5064 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4213, allocations: 2.844 kB / 0.5064 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.4224, allocations: 0.5509 MB / 0.5069 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4224, allocations: 14.59 kB / 0.507 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.4229, allocations: 92.03 kB / 0.507 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.4229, allocations: 3 kB / 0.5071 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.423, allocations: 10.31 kB / 0.5071 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.423, allocations: 2.906 kB / 0.5071 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.423, allocations: 7.938 kB / 0.5071 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.4235, allocations: 0.8417 MB / 0.5079 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.4236, allocations: 39.34 kB / 0.5079 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.4236, allocations: 7 kB / 0.5079 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.424, allocations: 10 kB / 0.5079 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.424, allocations: 27.47 kB / 0.508 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.4241, allocations: 9.094 kB / 0.508 GB, free: 21.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.4242, allocations: 175.9 kB / 0.5082 GB, free: 21.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4242, allocations: 0 / 0.5082 GB, free: 21.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007553/0.4249, allocations: 98.73 kB / 0.5082 GB, free: 21.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001072/0.425, allocations: 117.2 kB / 0.5084 GB, free: 21.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005148/0.4255, allocations: 277.9 kB / 0.5086 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4256, allocations: 0 / 0.5086 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.4257, allocations: 85.34 kB / 0.5087 GB, free: 21.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.4268, allocations: 76.8 kB / 0.5088 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.4286, allocations: 1.55 MB / 0.5103 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.4288, allocations: 195.8 kB / 0.5105 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.4289, allocations: 39.19 kB / 0.5105 GB, free: 19.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.429, allocations: 29.69 kB / 0.5105 GB, free: 19.85 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.429, allocations: 0 / 0.5105 GB, free: 19.85 MB / 446.1 MB Notification: Performance of Templates: time 0.007101/0.4361, allocations: 2.869 MB / 0.5133 GB, free: 19.48 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.167998236953281]