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.001324/0.001324, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001493/0.001493, allocations: 215.5 kB / 22.99 MB, free: 4.977 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.505/1.505, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2282/0.2282, allocations: 44.27 MB / 330.4 MB, free: 9.293 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="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.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.002305/0.002305, allocations: 71.89 kB / 467.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1218, allocations: 61.04 MB / 0.5161 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004609/0.1264, allocations: 2.811 MB / 0.5189 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008454/0.1273, allocations: 414.5 kB / 0.5193 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1274, allocations: 15.88 kB / 0.5193 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.1275, allocations: 63.31 kB / 0.5194 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.1279, allocations: 170.5 kB / 0.5195 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.1281, allocations: 103.9 kB / 0.5196 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005891/0.1287, allocations: 0.5325 MB / 0.5201 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.129, allocations: 109.5 kB / 0.5202 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.1292, allocations: 215.3 kB / 0.5204 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.1295, allocations: 187 kB / 0.5206 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.1296, allocations: 40 kB / 0.5207 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.315e-05/0.1296, allocations: 40 kB / 0.5207 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.618e-05/0.1297, allocations: 99.67 kB / 0.5208 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.1299, allocations: 203.1 kB / 0.521 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005843/0.1305, allocations: 0.5368 MB / 0.5215 GB, free: 1.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1305, allocations: 4 kB / 0.5215 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1305, allocations: 0 / 0.5215 GB, free: 1.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1306, allocations: 0 / 0.5215 GB, free: 1.629 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.001037/0.1316, allocations: 0.6494 MB / 0.5222 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.1316, allocations: 8.031 kB / 0.5222 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.1317, allocations: 90.7 kB / 0.5222 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.651e-05/0.1318, allocations: 52.61 kB / 0.5223 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.1322, allocations: 245.5 kB / 0.5225 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.1322, allocations: 33.38 kB / 0.5226 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.1323, allocations: 52.33 kB / 0.5226 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.1331, allocations: 458.8 kB / 0.5231 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/0.1331, allocations: 15.89 kB / 0.5231 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.1331, allocations: 16 kB / 0.5231 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.1331, allocations: 12 kB / 0.5231 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.1336, allocations: 259.7 kB / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.1359, allocations: 1.554 MB / 0.5249 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.1365, allocations: 415.5 kB / 0.5253 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.1367, allocations: 139.7 kB / 0.5254 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1367, allocations: 12 kB / 0.5254 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1368, allocations: 42.5 kB / 0.5254 GB, free: 13.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.1368, allocations: 0 / 0.5254 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007557/0.1375, allocations: 361.9 kB / 0.5258 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/0.1377, allocations: 273 kB / 0.526 GB, free: 12.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.138, allocations: 258 kB / 0.5263 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.1381, allocations: 33.7 kB / 0.5263 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.1383, allocations: 244.3 kB / 0.5266 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.1385, allocations: 194.4 kB / 0.5267 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.1387, allocations: 118.6 kB / 0.5269 GB, free: 11.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1389, allocations: 347.3 kB / 0.5272 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.1391, allocations: 118.1 kB / 0.5273 GB, free: 11.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.1396, allocations: 425.6 kB / 0.5277 GB, free: 10.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.1403, allocations: 0.5732 MB / 0.5283 GB, free: 10.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.1403, allocations: 4 kB / 0.5283 GB, free: 10.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000875/0.1412, allocations: 0.5718 MB / 0.5288 GB, free: 9.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1412, allocations: 8 kB / 0.5288 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.1412, allocations: 12 kB / 0.5288 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.1413, allocations: 15.94 kB / 0.5289 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.1418, allocations: 179.7 kB / 0.529 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/0.1418, allocations: 23.92 kB / 0.5291 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.1421, allocations: 59.56 kB / 0.5291 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.1421, allocations: 39.94 kB / 0.5292 GB, free: 9.129 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.0002129/0.1424, allocations: 181.5 kB / 0.5293 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.1426, allocations: 43.83 kB / 0.5294 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.678e-05/0.1426, allocations: 41.7 kB / 0.5294 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.1427, allocations: 11.94 kB / 0.5294 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.1427, allocations: 3.984 kB / 0.5294 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1427, allocations: 4 kB / 0.5294 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1437, allocations: 364.4 kB / 0.5298 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1437, allocations: 128 / 0.5298 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.1442, allocations: 127.9 kB / 0.5299 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.1442, allocations: 4 kB / 0.5299 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.1443, allocations: 19.94 kB / 0.5299 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1443, allocations: 7.938 kB / 0.5299 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1443, allocations: 7.938 kB / 0.5299 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009823/0.1453, allocations: 1.075 MB / 0.531 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.1453, allocations: 47.62 kB / 0.531 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.1454, allocations: 11.94 kB / 0.531 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.1458, allocations: 12 kB / 0.5311 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.1458, allocations: 31.89 kB / 0.5311 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.1458, allocations: 15.98 kB / 0.5311 GB, free: 7.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.146, allocations: 169.2 kB / 0.5313 GB, free: 6.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.146, allocations: 0 / 0.5313 GB, free: 6.887 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007974/0.1468, allocations: 135.8 kB / 0.5314 GB, free: 6.754 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.001326/0.1481, allocations: 1.632 MB / 0.533 GB, free: 5.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006626/0.1488, allocations: 337.9 kB / 0.5333 GB, free: 4.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.1488, allocations: 4 kB / 0.5333 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.149, allocations: 123.7 kB / 0.5334 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.1502, allocations: 106.8 kB / 0.5335 GB, free: 4.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2091/0.3593, allocations: 5.589 MB / 0.539 GB, free: 26.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.3595, allocations: 229.6 kB / 0.5392 GB, free: 25.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.3597, allocations: 50.56 kB / 0.5393 GB, free: 25.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3599, allocations: 140.2 kB / 0.5394 GB, free: 25.92 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3599, allocations: 0 / 0.5394 GB, free: 25.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03995/0.3998, allocations: 9.163 MB / 0.5483 GB, free: 24.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.04, allocations: 10.09 kB / 0.5483 GB, free: 24.36 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.185106202028692]