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.001743/0.001743, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.002314/0.002314, allocations: 214.8 kB / 23 MB, free: 5.008 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.453/1.453, allocations: 207.6 MB / 233.8 MB, free: 10 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.2313/0.2313, allocations: 44.25 MB / 330.3 MB, free: 9.516 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.002455/0.002455, allocations: 70.41 kB / 467.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1177, allocations: 61.04 MB / 0.5161 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004984/0.1227, allocations: 3.086 MB / 0.5192 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.124, allocations: 410.5 kB / 0.5195 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/0.1244, allocations: 19.88 kB / 0.5196 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.1246, allocations: 63.3 kB / 0.5196 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.1251, allocations: 166.6 kB / 0.5198 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.1255, allocations: 103.8 kB / 0.5199 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008183/0.1263, allocations: 0.5403 MB / 0.5204 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.1266, allocations: 121.4 kB / 0.5205 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.127, allocations: 211.3 kB / 0.5207 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003874/0.1274, allocations: 211 kB / 0.5209 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.1275, allocations: 44 kB / 0.521 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.934e-05/0.1276, allocations: 40 kB / 0.521 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.1277, allocations: 91.67 kB / 0.5211 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.1281, allocations: 250.8 kB / 0.5213 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007611/0.1288, allocations: 0.5291 MB / 0.5219 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1288, allocations: 0 / 0.5219 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1288, allocations: 4 kB / 0.5219 GB, free: 1.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.1288, allocations: 0 / 0.5219 GB, free: 1.457 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.00113/0.13, allocations: 0.6455 MB / 0.5225 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.13, allocations: 8.031 kB / 0.5225 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.1302, allocations: 90.7 kB / 0.5226 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.1303, allocations: 60.55 kB / 0.5226 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.1307, allocations: 237.6 kB / 0.5229 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.1307, allocations: 37.38 kB / 0.5229 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.1308, allocations: 56.27 kB / 0.523 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.1317, allocations: 450.7 kB / 0.5234 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/0.1317, allocations: 27.88 kB / 0.5234 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/0.1317, allocations: 16 kB / 0.5234 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.1318, allocations: 12 kB / 0.5234 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/0.1323, allocations: 259.7 kB / 0.5237 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.1351, allocations: 1.644 MB / 0.5253 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.1358, allocations: 399.5 kB / 0.5257 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.136, allocations: 147.6 kB / 0.5258 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.136, allocations: 8 kB / 0.5258 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.334e-05/0.1361, allocations: 50.5 kB / 0.5259 GB, free: 13.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 3.317e-06/0.1361, allocations: 0 / 0.5259 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008734/0.137, allocations: 357.5 kB / 0.5262 GB, free: 12.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/0.1372, allocations: 277 kB / 0.5265 GB, free: 12.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.1375, allocations: 254.1 kB / 0.5267 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.1376, allocations: 37.64 kB / 0.5268 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.1378, allocations: 244.2 kB / 0.527 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.1381, allocations: 190.9 kB / 0.5272 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.1382, allocations: 122.6 kB / 0.5273 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.1385, allocations: 346.8 kB / 0.5276 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.1387, allocations: 117.9 kB / 0.5277 GB, free: 11.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/0.1392, allocations: 413.6 kB / 0.5281 GB, free: 10.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008894/0.1401, allocations: 0.5776 MB / 0.5287 GB, free: 9.785 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.1401, allocations: 8 kB / 0.5287 GB, free: 9.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009429/0.1411, allocations: 0.567 MB / 0.5292 GB, free: 9.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1411, allocations: 8 kB / 0.5293 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.1411, allocations: 12.91 kB / 0.5293 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.1e-05/0.1411, allocations: 15.94 kB / 0.5293 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.1417, allocations: 183.7 kB / 0.5295 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.683e-05/0.1418, allocations: 19.92 kB / 0.5295 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.1422, allocations: 63.56 kB / 0.5295 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.1423, allocations: 32 kB / 0.5296 GB, free: 8.875 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.000261/0.1426, allocations: 181.6 kB / 0.5297 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.1428, allocations: 39.77 kB / 0.5298 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.1429, allocations: 41.7 kB / 0.5298 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.1429, allocations: 19.92 kB / 0.5298 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.1429, allocations: 0 / 0.5298 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1429, allocations: 4 kB / 0.5298 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.1441, allocations: 392.2 kB / 0.5302 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.1442, allocations: 0 / 0.5302 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.1447, allocations: 127.8 kB / 0.5303 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.1447, allocations: 4 kB / 0.5303 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.1448, allocations: 16 kB / 0.5304 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.1448, allocations: 7.938 kB / 0.5304 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1448, allocations: 0 / 0.5304 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.1459, allocations: 1.079 MB / 0.5314 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.146, allocations: 43.69 kB / 0.5315 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.1461, allocations: 23.92 kB / 0.5315 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.1466, allocations: 4.125 kB / 0.5315 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.1466, allocations: 31.95 kB / 0.5315 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.1466, allocations: 19.98 kB / 0.5315 GB, free: 6.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002533/0.1469, allocations: 177.1 kB / 0.5317 GB, free: 6.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1469, allocations: 0 / 0.5317 GB, free: 6.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009727/0.1479, allocations: 135.8 kB / 0.5318 GB, free: 6.469 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.001496/0.1494, allocations: 1.628 MB / 0.5334 GB, free: 4.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007175/0.1501, allocations: 341.3 kB / 0.5337 GB, free: 4.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1501, allocations: 3.938 kB / 0.5338 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.1503, allocations: 121.2 kB / 0.5339 GB, free: 4.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.1516, allocations: 89.56 kB / 0.534 GB, free: 4.273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2093/0.3609, allocations: 5.613 MB / 0.5394 GB, free: 25.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3612, allocations: 0.8327 MB / 0.5402 GB, free: 25.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002022/0.3614, allocations: 49.92 kB / 0.5403 GB, free: 25.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.3616, allocations: 144.7 kB / 0.5404 GB, free: 25.11 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3616, allocations: 0 / 0.5404 GB, free: 25.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05142/0.413, allocations: 8.864 MB / 0.5491 GB, free: 24.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.12, allocations: 1.25 kB / 0.5491 GB, free: 24.19 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.254175475798547]