Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001384/0.001384, allocations: 70.42 kB / 21.24 MB, free: 0.5391 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.001457/0.001457, allocations: 158.5 kB / 24.5 MB, free: 3.711 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.456/1.456, allocations: 177.2 MB / 204.9 MB, free: 9.012 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.208/0.208, allocations: 32.8 MB / 294.1 MB, free: 40 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [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.00209/0.00209, allocations: 59.91 kB / 440.6 MB, free: 9.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3742, allocations: 65.44 MB / 0.4941 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004039/0.3783, allocations: 2.674 MB / 0.4967 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.3798, allocations: 0.7646 MB / 0.4975 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.38, allocations: 12.84 kB / 0.4975 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.3802, allocations: 62.91 kB / 0.4976 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.3804, allocations: 126.8 kB / 0.4977 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.3808, allocations: 122 kB / 0.4978 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.3812, allocations: 455.8 kB / 0.4982 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.3815, allocations: 131.5 kB / 0.4984 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.3818, allocations: 184 kB / 0.4985 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.382, allocations: 167.5 kB / 0.4987 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.021e-05/0.382, allocations: 37.28 kB / 0.4987 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3822, allocations: 37.59 kB / 0.4988 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.3822, allocations: 77.28 kB / 0.4988 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.3824, allocations: 179.3 kB / 0.499 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000543/0.3829, allocations: 457.1 kB / 0.4994 GB, free: 28.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3829, allocations: 0 / 0.4994 GB, free: 28.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3829, allocations: 4 kB / 0.4995 GB, free: 28.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3829, allocations: 3.516 kB / 0.4995 GB, free: 28.12 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009597/0.3839, allocations: 0.6051 MB / 0.5 GB, free: 27.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3839, allocations: 9.594 kB / 0.5001 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/0.3843, allocations: 73.41 kB / 0.5001 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.3847, allocations: 247.5 kB / 0.5004 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3847, allocations: 26.19 kB / 0.5004 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/0.3847, allocations: 41.05 kB / 0.5004 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.3853, allocations: 386.4 kB / 0.5008 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.3853, allocations: 7.953 kB / 0.5008 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.3854, allocations: 15.19 kB / 0.5008 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.3854, allocations: 9.594 kB / 0.5008 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.3858, allocations: 246.2 kB / 0.5011 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.3872, allocations: 0.9116 MB / 0.502 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.3877, allocations: 329.7 kB / 0.5023 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.388, allocations: 161.8 kB / 0.5024 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.3881, allocations: 11.27 kB / 0.5024 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3881, allocations: 37.59 kB / 0.5025 GB, free: 26.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 2.444e-06/0.3881, allocations: 0 / 0.5025 GB, free: 26.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.00339/0.3915, allocations: 2.004 MB / 0.5044 GB, free: 24.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3915, allocations: 111.8 kB / 0.5045 GB, free: 24.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3917, allocations: 192 kB / 0.5047 GB, free: 24.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.3917, allocations: 33.7 kB / 0.5047 GB, free: 24.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.3918, allocations: 204.9 kB / 0.5049 GB, free: 24.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.555e-05/0.3919, allocations: 207.7 kB / 0.5051 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.599e-05/0.392, allocations: 83.62 kB / 0.5052 GB, free: 24.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.3921, allocations: 346 kB / 0.5055 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.3923, allocations: 126.5 kB / 0.5057 GB, free: 23.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.3925, allocations: 237 kB / 0.5059 GB, free: 23.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.3931, allocations: 402.5 kB / 0.5063 GB, free: 23.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3931, allocations: 0 / 0.5063 GB, free: 23.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000927/0.394, allocations: 0.5546 MB / 0.5068 GB, free: 23.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.394, allocations: 6.156 kB / 0.5068 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.394, allocations: 3 kB / 0.5068 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000358/0.3944, allocations: 119 kB / 0.5069 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.3948, allocations: 104.9 kB / 0.507 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/0.3978, allocations: 4.811 MB / 0.5117 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.398, allocations: 20.91 kB / 0.5118 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.3981, allocations: 22.42 kB / 0.5118 GB, free: 18.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.3983, allocations: 168.9 kB / 0.5119 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.3984, allocations: 37.7 kB / 0.512 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.002e-05/0.3984, allocations: 47.28 kB / 0.512 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3984, allocations: 10.12 kB / 0.512 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/0.3984, allocations: 3.125 kB / 0.512 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3985, allocations: 7.406 kB / 0.512 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.4001, allocations: 1.177 MB / 0.5132 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4001, allocations: 3.031 kB / 0.5132 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.4006, allocations: 96.81 kB / 0.5133 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/0.4009, allocations: 92.84 kB / 0.5134 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.4009, allocations: 11.03 kB / 0.5134 GB, free: 17.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/0.4033, allocations: 4.041 MB / 0.5173 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.4033, allocations: 7.094 kB / 0.5173 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.4047, allocations: 0.9165 MB / 0.5182 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.4048, allocations: 26.94 kB / 0.5183 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.4048, allocations: 16.31 kB / 0.5183 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.4051, allocations: 14.78 kB / 0.5183 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.4052, allocations: 49.42 kB / 0.5183 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.4052, allocations: 15.56 kB / 0.5184 GB, free: 13.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.4053, allocations: 139.5 kB / 0.5185 GB, free: 13.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4053, allocations: 5.125 kB / 0.5185 GB, free: 13.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008593/0.4062, allocations: 123.6 kB / 0.5186 GB, free: 13.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001341/0.4063, allocations: 109 kB / 0.5187 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.4076, allocations: 0.7662 MB / 0.5195 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4076, allocations: 0 / 0.5195 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007244/0.4084, allocations: 0.5592 MB / 0.52 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000721/0.4091, allocations: 67.88 kB / 0.5201 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.411, allocations: 1.09 MB / 0.5211 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.4112, allocations: 219.8 kB / 0.5213 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.4113, allocations: 30.14 kB / 0.5214 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.4114, allocations: 28.59 kB / 0.5214 GB, free: 11.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4114, allocations: 4 kB / 0.5214 GB, free: 11.14 MB / 446.1 MB Notification: Performance of Templates: time 0.01187/0.4233, allocations: 4.361 MB / 0.5257 GB, free: 10.57 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.318341471021995]