Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 119.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3622/0.3622, allocations: 44.23 MB / 326.5 MB, free: 6.797 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 71.89 kB / 462.2 MB, free: 0.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2958, allocations: 61 MB / 0.5109 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00326/0.299, allocations: 3.082 MB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006402/0.2997, allocations: 414.8 kB / 0.5143 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.2998, allocations: 12.19 kB / 0.5143 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.2999, allocations: 63.12 kB / 0.5144 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.3002, allocations: 168.6 kB / 0.5145 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.3004, allocations: 98.23 kB / 0.5146 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.3008, allocations: 0.5397 MB / 0.5151 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.301, allocations: 121.2 kB / 0.5153 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.3012, allocations: 205.8 kB / 0.5155 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.3014, allocations: 219 kB / 0.5157 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.18e-05/0.3014, allocations: 39.88 kB / 0.5157 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.907e-05/0.3015, allocations: 45.25 kB / 0.5157 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.3016, allocations: 97.38 kB / 0.5158 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.3017, allocations: 247 kB / 0.5161 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.3021, allocations: 0.5232 MB / 0.5166 GB, free: 9.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3021, allocations: 0 / 0.5166 GB, free: 9.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3021, allocations: 0 / 0.5166 GB, free: 9.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.3021, allocations: 0 / 0.5166 GB, free: 9.008 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.000784/0.3029, allocations: 0.7232 MB / 0.5173 GB, free: 8.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.303, allocations: 13.67 kB / 0.5173 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.678e-05/0.303, allocations: 93.42 kB / 0.5174 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.273e-05/0.3031, allocations: 54.77 kB / 0.5174 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.3033, allocations: 291.6 kB / 0.5177 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.3034, allocations: 36.88 kB / 0.5178 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.3034, allocations: 55.8 kB / 0.5178 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.3039, allocations: 465.2 kB / 0.5183 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.3039, allocations: 11.89 kB / 0.5183 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.304, allocations: 20 kB / 0.5183 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.304, allocations: 19.98 kB / 0.5183 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.3043, allocations: 255.6 kB / 0.5186 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.3059, allocations: 1.696 MB / 0.5202 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.3062, allocations: 407.8 kB / 0.5206 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.3063, allocations: 147.6 kB / 0.5207 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3064, allocations: 12 kB / 0.5208 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.3064, allocations: 46.5 kB / 0.5208 GB, free: 4.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.3064, allocations: 0 / 0.5208 GB, free: 4.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0005844/0.307, allocations: 361.2 kB / 0.5211 GB, free: 4.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.307, allocations: 261.5 kB / 0.5214 GB, free: 3.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3072, allocations: 254.6 kB / 0.5216 GB, free: 3.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.3072, allocations: 33.7 kB / 0.5217 GB, free: 3.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.3073, allocations: 244.2 kB / 0.5219 GB, free: 3.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/0.3074, allocations: 190.4 kB / 0.5221 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.3074, allocations: 118.6 kB / 0.5222 GB, free: 3.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.062e-05/0.3075, allocations: 346.8 kB / 0.5225 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.3076, allocations: 114 kB / 0.5226 GB, free: 2.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.3079, allocations: 429.6 kB / 0.523 GB, free: 2.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.3083, allocations: 0.5693 MB / 0.5236 GB, free: 1.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3083, allocations: 4 kB / 0.5236 GB, free: 1.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006113/0.3089, allocations: 0.5761 MB / 0.5242 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3089, allocations: 12 kB / 0.5242 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.3089, allocations: 8 kB / 0.5242 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.3089, allocations: 19.94 kB / 0.5242 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.3094, allocations: 179.7 kB / 0.5244 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.3094, allocations: 19.92 kB / 0.5244 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.3097, allocations: 59.56 kB / 0.5244 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.3097, allocations: 36 kB / 0.5245 GB, free: 500 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.000133/0.3099, allocations: 185.8 kB / 0.5247 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.31, allocations: 39.77 kB / 0.5247 GB, free: 264 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.613e-05/0.3101, allocations: 41.7 kB / 0.5247 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3101, allocations: 11.94 kB / 0.5247 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3101, allocations: 4 kB / 0.5248 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3101, allocations: 7.922 kB / 0.5248 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009584/0.3111, allocations: 421.2 kB / 0.5252 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3111, allocations: 4 kB / 0.5252 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.3116, allocations: 123.8 kB / 0.5253 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3116, allocations: 11.94 kB / 0.5253 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.3117, allocations: 12 kB / 0.5253 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.3117, allocations: 7.938 kB / 0.5253 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3117, allocations: 3.984 kB / 0.5253 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009658/0.3126, allocations: 1.079 MB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.3128, allocations: 120.7 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.3129, allocations: 19.94 kB / 0.5265 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.3133, allocations: 4 kB / 0.5265 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.3133, allocations: 31.97 kB / 0.5265 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.3133, allocations: 19.98 kB / 0.5266 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.3135, allocations: 166 kB / 0.5267 GB, free: 14.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3135, allocations: 0 / 0.5267 GB, free: 14.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008337/0.3143, allocations: 131.8 kB / 0.5268 GB, free: 13.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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.001323/0.3157, allocations: 1.64 MB / 0.5284 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006192/0.3163, allocations: 342.1 kB / 0.5288 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3163, allocations: 256 / 0.5288 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.3165, allocations: 127.9 kB / 0.5289 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.3177, allocations: 93.88 kB / 0.529 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/0.3248, allocations: 5.602 MB / 0.5345 GB, free: 5.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.3254, allocations: 0.8356 MB / 0.5353 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.3256, allocations: 52.14 kB / 0.5353 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.3258, allocations: 139.4 kB / 0.5355 GB, free: 4.715 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3258, allocations: 0 / 0.5355 GB, free: 4.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.3606, allocations: 8.391 MB / 0.5436 GB, free: 12.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.981/9.342, allocations: 3.938 kB / 0.5436 GB, free: 12.3 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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: 12.560284826904535]