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.001344/0.001344, allocations: 109 kB / 20.48 MB, free: 1.477 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.001534/0.001534, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.54/1.54, allocations: 207.6 MB / 234.6 MB, free: 9.98 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.2359/0.2359, allocations: 44.25 MB / 331.1 MB, free: 9.508 MB / 270.1 MB " [Timeout remaining time 179] 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.002269/0.002269, allocations: 71.91 kB / 468.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1261, allocations: 61.04 MB / 0.5169 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004581/0.1307, allocations: 3.081 MB / 0.5199 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009854/0.1316, allocations: 414.5 kB / 0.5203 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.1319, allocations: 15.94 kB / 0.5203 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.1321, allocations: 71.3 kB / 0.5204 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.1325, allocations: 166.5 kB / 0.5206 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1328, allocations: 95.88 kB / 0.5206 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006687/0.1335, allocations: 0.5481 MB / 0.5212 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.1338, allocations: 117.5 kB / 0.5213 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.1341, allocations: 211.3 kB / 0.5215 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.1344, allocations: 211 kB / 0.5217 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.738e-05/0.1344, allocations: 40 kB / 0.5217 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.1345, allocations: 40 kB / 0.5218 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.1346, allocations: 91.69 kB / 0.5219 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.1349, allocations: 258.8 kB / 0.5221 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006341/0.1356, allocations: 0.5213 MB / 0.5226 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.1356, allocations: 7.922 kB / 0.5226 GB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1356, allocations: 4 kB / 0.5226 GB, free: 1.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1356, allocations: 0 / 0.5226 GB, free: 1.453 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.001114/0.1367, allocations: 0.6455 MB / 0.5233 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1367, allocations: 12.03 kB / 0.5233 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.772e-05/0.1368, allocations: 13.19 kB / 0.5233 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.324e-05/0.1369, allocations: 90.64 kB / 0.5234 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.137, allocations: 60.61 kB / 0.5234 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.1375, allocations: 233.5 kB / 0.5236 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.1375, allocations: 37.38 kB / 0.5237 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.1376, allocations: 52.33 kB / 0.5237 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007956/0.1384, allocations: 462.4 kB / 0.5242 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.1384, allocations: 15.94 kB / 0.5242 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.1385, allocations: 24 kB / 0.5242 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.1385, allocations: 12 kB / 0.5242 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.1389, allocations: 251.7 kB / 0.5245 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.1413, allocations: 1.648 MB / 0.5261 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/0.1419, allocations: 403.8 kB / 0.5265 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.1422, allocations: 147.7 kB / 0.5266 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.1423, allocations: 8 kB / 0.5266 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.1423, allocations: 46.5 kB / 0.5266 GB, free: 13.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 3.646e-06/0.1423, allocations: 4 kB / 0.5267 GB, free: 13.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008137/0.1431, allocations: 357.2 kB / 0.527 GB, free: 12.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002384/0.1434, allocations: 269 kB / 0.5273 GB, free: 12.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.1437, allocations: 258 kB / 0.5275 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.1437, allocations: 34.2 kB / 0.5275 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.1439, allocations: 248.2 kB / 0.5278 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.1441, allocations: 194.4 kB / 0.528 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.1442, allocations: 110.6 kB / 0.5281 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1444, allocations: 346.8 kB / 0.5284 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.1446, allocations: 121.9 kB / 0.5285 GB, free: 11.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.145, allocations: 413.6 kB / 0.5289 GB, free: 10.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/0.1458, allocations: 0.5815 MB / 0.5295 GB, free: 9.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.1458, allocations: 4 kB / 0.5295 GB, free: 9.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008932/0.1467, allocations: 0.5678 MB / 0.53 GB, free: 9.191 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.1467, allocations: 8 kB / 0.53 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.1467, allocations: 16.12 kB / 0.53 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.1467, allocations: 19.94 kB / 0.5301 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.1473, allocations: 175.7 kB / 0.5302 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.647e-05/0.1473, allocations: 19.92 kB / 0.5303 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.1476, allocations: 63.56 kB / 0.5303 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.1477, allocations: 32 kB / 0.5303 GB, free: 8.863 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.0002215/0.1479, allocations: 185.5 kB / 0.5305 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.1481, allocations: 39.77 kB / 0.5306 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.925e-05/0.1482, allocations: 49.64 kB / 0.5306 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.1482, allocations: 11.98 kB / 0.5306 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.1482, allocations: 4 kB / 0.5306 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1482, allocations: 3.938 kB / 0.5306 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.1493, allocations: 392.2 kB / 0.531 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1493, allocations: 4 kB / 0.531 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005903/0.1498, allocations: 119.9 kB / 0.5311 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.1499, allocations: 4 kB / 0.5311 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.1499, allocations: 19.94 kB / 0.5311 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1499, allocations: 4 kB / 0.5311 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1499, allocations: 7.938 kB / 0.5312 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009501/0.1508, allocations: 1.075 MB / 0.5322 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.1509, allocations: 39.69 kB / 0.5322 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.151, allocations: 19.94 kB / 0.5323 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.1514, allocations: 8.125 kB / 0.5323 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.1514, allocations: 31.89 kB / 0.5323 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.1514, allocations: 23.92 kB / 0.5323 GB, free: 6.758 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.1516, allocations: 169.2 kB / 0.5325 GB, free: 6.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1516, allocations: 4 kB / 0.5325 GB, free: 6.586 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008249/0.1524, allocations: 135.8 kB / 0.5326 GB, free: 6.453 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.001359/0.1538, allocations: 1.628 MB / 0.5342 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006281/0.1544, allocations: 334.8 kB / 0.5345 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1544, allocations: 0 / 0.5345 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.1546, allocations: 128 kB / 0.5346 GB, free: 4.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.1558, allocations: 92.86 kB / 0.5347 GB, free: 4.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2024/0.3582, allocations: 5.618 MB / 0.5402 GB, free: 25.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.3586, allocations: 0.8318 MB / 0.541 GB, free: 25.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002239/0.3588, allocations: 50.55 kB / 0.5411 GB, free: 25.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.359, allocations: 140.5 kB / 0.5412 GB, free: 25.23 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.359, allocations: 1.438 kB / 0.5412 GB, free: 25.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.3934, allocations: 8.894 MB / 0.5499 GB, free: 24.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.56, allocations: 7.344 kB / 0.5499 GB, free: 24.29 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.000389461987652]