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.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.001768/0.001768, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002204/0.002204, allocations: 215.3 kB / 23.77 MB, free: 4.551 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.519/1.519, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.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.2289/0.2289, allocations: 44.27 MB / 331.1 MB, free: 9.316 MB / 270.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.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: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 59.91 kB / 468.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1322, allocations: 61.05 MB / 0.5169 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004697/0.1369, allocations: 2.802 MB / 0.5196 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1381, allocations: 410.5 kB / 0.52 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.1384, allocations: 15.88 kB / 0.5201 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.1385, allocations: 67.25 kB / 0.5201 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.139, allocations: 166.6 kB / 0.5203 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1393, allocations: 103.9 kB / 0.5204 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006589/0.1399, allocations: 0.5325 MB / 0.5209 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/0.1402, allocations: 121.5 kB / 0.521 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.1405, allocations: 211.2 kB / 0.5212 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003128/0.1408, allocations: 219.1 kB / 0.5214 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.762e-05/0.1409, allocations: 47.94 kB / 0.5215 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.267e-05/0.141, allocations: 40 kB / 0.5215 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1411, allocations: 95.69 kB / 0.5216 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.1413, allocations: 207.1 kB / 0.5218 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000651/0.142, allocations: 0.5291 MB / 0.5223 GB, free: 1.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.142, allocations: 0 / 0.5223 GB, free: 1.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.142, allocations: 0 / 0.5223 GB, free: 1.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.142, allocations: 0 / 0.5223 GB, free: 1.648 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001121/0.1431, allocations: 0.6533 MB / 0.5229 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.1432, allocations: 8.031 kB / 0.523 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.189e-05/0.1432, allocations: 21.19 kB / 0.523 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.286e-05/0.1433, allocations: 90.64 kB / 0.5231 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.752e-05/0.1434, allocations: 52.61 kB / 0.5231 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.1438, allocations: 233.6 kB / 0.5233 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.1438, allocations: 29.38 kB / 0.5234 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.859e-05/0.1439, allocations: 64.2 kB / 0.5234 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007447/0.1446, allocations: 462.5 kB / 0.5239 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.1447, allocations: 7.953 kB / 0.5239 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.1447, allocations: 24 kB / 0.5239 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.1447, allocations: 12 kB / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.1452, allocations: 263.6 kB / 0.5242 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.1476, allocations: 1.554 MB / 0.5257 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.1482, allocations: 395.8 kB / 0.5261 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.1485, allocations: 159.8 kB / 0.5262 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1485, allocations: 4 kB / 0.5262 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.1485, allocations: 46.5 kB / 0.5263 GB, free: 13.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.775e-06/0.1485, allocations: 0 / 0.5263 GB, free: 13.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007898/0.1493, allocations: 366.2 kB / 0.5266 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.1495, allocations: 265 kB / 0.5269 GB, free: 12.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1497, allocations: 254.6 kB / 0.5271 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.1498, allocations: 41.69 kB / 0.5271 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.15, allocations: 244.3 kB / 0.5274 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.1501, allocations: 186.4 kB / 0.5275 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.1503, allocations: 114.6 kB / 0.5277 GB, free: 11.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.1505, allocations: 350.8 kB / 0.528 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.1507, allocations: 122 kB / 0.5281 GB, free: 11.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.1512, allocations: 421.6 kB / 0.5285 GB, free: 10.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000768/0.152, allocations: 0.5645 MB / 0.5291 GB, free: 10.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.152, allocations: 4 kB / 0.5291 GB, free: 10.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001008/0.153, allocations: 0.5753 MB / 0.5296 GB, free: 9.469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.153, allocations: 8 kB / 0.5296 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.153, allocations: 12.08 kB / 0.5296 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.523e-05/0.1531, allocations: 16.69 kB / 0.5297 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/0.1537, allocations: 183.7 kB / 0.5298 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.851e-05/0.1537, allocations: 23.91 kB / 0.5299 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.154, allocations: 63.56 kB / 0.5299 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.1541, allocations: 32 kB / 0.53 GB, free: 9.137 MB / 414.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.0003021/0.1544, allocations: 181.6 kB / 0.5301 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.1546, allocations: 39.77 kB / 0.5302 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.727e-05/0.1547, allocations: 49.62 kB / 0.5302 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.1547, allocations: 8 kB / 0.5302 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.1547, allocations: 4 kB / 0.5302 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.1547, allocations: 3.984 kB / 0.5302 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.1558, allocations: 368.3 kB / 0.5306 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.1558, allocations: 4.125 kB / 0.5306 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.1564, allocations: 127.8 kB / 0.5307 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.547e-06/0.1565, allocations: 7.938 kB / 0.5307 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.1565, allocations: 23.88 kB / 0.5307 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.1565, allocations: 4 kB / 0.5307 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1565, allocations: 0 / 0.5307 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.1576, allocations: 1.083 MB / 0.5318 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.1576, allocations: 39.69 kB / 0.5318 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.1577, allocations: 19.94 kB / 0.5319 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.1581, allocations: 12 kB / 0.5319 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.1582, allocations: 27.95 kB / 0.5319 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.1582, allocations: 19.92 kB / 0.5319 GB, free: 7.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.1584, allocations: 169.2 kB / 0.5321 GB, free: 6.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1584, allocations: 0 / 0.5321 GB, free: 6.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009298/0.1593, allocations: 135.8 kB / 0.5322 GB, free: 6.75 MB / 414.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.001504/0.1608, allocations: 1.632 MB / 0.5338 GB, free: 5.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007105/0.1615, allocations: 333.7 kB / 0.5341 GB, free: 4.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.1616, allocations: 0.8125 kB / 0.5341 GB, free: 4.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.1618, allocations: 123.8 kB / 0.5342 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.1631, allocations: 93.86 kB / 0.5343 GB, free: 4.555 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2356/0.3988, allocations: 5.602 MB / 0.5398 GB, free: 26.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3991, allocations: 230.5 kB / 0.54 GB, free: 25.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002341/0.3993, allocations: 49.89 kB / 0.5401 GB, free: 25.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.3995, allocations: 143 kB / 0.5402 GB, free: 25.92 MB / 414.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3995, allocations: 0 / 0.5402 GB, free: 25.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.4365, allocations: 8.963 MB / 0.5489 GB, free: 24.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.67, allocations: 3.469 kB / 0.549 GB, free: 24.72 MB / 414.1 MB " [Timeout remaining time 647] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 16.15522522991523]