Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001433/0.001433, allocations: 118.1 kB / 18.5 MB, free: 4.582 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.00158/0.00158, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 44.91 MB / 349.6 MB, free: 1.766 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 68.31 kB / 491.8 MB, free: 30 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1159, allocations: 64.26 MB / 0.543 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004431/0.1203, allocations: 3.078 MB / 0.546 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1214, allocations: 418.5 kB / 0.5464 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.1216, allocations: 11.94 kB / 0.5464 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.1217, allocations: 59.31 kB / 0.5465 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.1221, allocations: 170.5 kB / 0.5466 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.1224, allocations: 111.9 kB / 0.5467 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006091/0.123, allocations: 0.5326 MB / 0.5473 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.1232, allocations: 112.8 kB / 0.5474 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.1235, allocations: 207.3 kB / 0.5476 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.1238, allocations: 215 kB / 0.5478 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.1238, allocations: 40 kB / 0.5478 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.849e-05/0.1239, allocations: 40 kB / 0.5478 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.402e-05/0.124, allocations: 99.67 kB / 0.5479 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.1242, allocations: 242.9 kB / 0.5482 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006091/0.1248, allocations: 0.5293 MB / 0.5487 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1248, allocations: 4 kB / 0.5487 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1248, allocations: 0 / 0.5487 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.1249, allocations: 0 / 0.5487 GB, free: 14.41 MB / 414.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.001096/0.126, allocations: 0.7247 MB / 0.5494 GB, free: 13.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.126, allocations: 8.031 kB / 0.5494 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.1261, allocations: 86.7 kB / 0.5495 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.1262, allocations: 56.61 kB / 0.5495 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.1265, allocations: 295.6 kB / 0.5498 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.1266, allocations: 41.31 kB / 0.5499 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/0.1267, allocations: 52.33 kB / 0.5499 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007109/0.1274, allocations: 466.6 kB / 0.5504 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.58e-05/0.1274, allocations: 15.88 kB / 0.5504 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.1275, allocations: 23.98 kB / 0.5504 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.1275, allocations: 12 kB / 0.5504 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.1279, allocations: 251.7 kB / 0.5506 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.1303, allocations: 1.688 MB / 0.5523 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.1309, allocations: 411.6 kB / 0.5527 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.1311, allocations: 155.7 kB / 0.5528 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1311, allocations: 8 kB / 0.5528 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.1311, allocations: 42.5 kB / 0.5529 GB, free: 9.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.495e-06/0.1311, allocations: 0 / 0.5529 GB, free: 9.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007622/0.1319, allocations: 361.4 kB / 0.5532 GB, free: 9.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.132, allocations: 265 kB / 0.5535 GB, free: 9.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.1323, allocations: 254.7 kB / 0.5537 GB, free: 8.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.1324, allocations: 29.7 kB / 0.5538 GB, free: 8.809 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1325, allocations: 252.7 kB / 0.554 GB, free: 8.555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.1327, allocations: 194.4 kB / 0.5542 GB, free: 8.363 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.1328, allocations: 114.6 kB / 0.5543 GB, free: 8.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.133, allocations: 346.8 kB / 0.5546 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.1332, allocations: 118 kB / 0.5547 GB, free: 7.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.1337, allocations: 421.4 kB / 0.5551 GB, free: 7.227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007026/0.1344, allocations: 0.5776 MB / 0.5557 GB, free: 6.512 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.1344, allocations: 8 kB / 0.5557 GB, free: 6.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009046/0.1353, allocations: 0.5592 MB / 0.5563 GB, free: 5.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.1353, allocations: 13 kB / 0.5563 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.1353, allocations: 8 kB / 0.5563 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.359e-05/0.1354, allocations: 23.94 kB / 0.5563 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.1359, allocations: 175.7 kB / 0.5565 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.741e-05/0.1359, allocations: 23.92 kB / 0.5565 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.1362, allocations: 67.52 kB / 0.5565 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.1363, allocations: 28 kB / 0.5566 GB, free: 5.605 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.0002456/0.1365, allocations: 193.5 kB / 0.5568 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.1367, allocations: 35.75 kB / 0.5568 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.939e-05/0.1368, allocations: 45.7 kB / 0.5568 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.1368, allocations: 11.94 kB / 0.5568 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.1368, allocations: 4 kB / 0.5569 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.1368, allocations: 7.984 kB / 0.5569 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.1379, allocations: 413.2 kB / 0.5573 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1379, allocations: 4 kB / 0.5573 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/0.1385, allocations: 123.9 kB / 0.5574 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.1385, allocations: 0 / 0.5574 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.1385, allocations: 16 kB / 0.5574 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/0.1385, allocations: 8.062 kB / 0.5574 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.1385, allocations: 8 kB / 0.5574 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009432/0.1395, allocations: 1.079 MB / 0.5585 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.1396, allocations: 116.8 kB / 0.5586 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.1397, allocations: 15.94 kB / 0.5586 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.1401, allocations: 12 kB / 0.5586 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.1401, allocations: 31.84 kB / 0.5586 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.1401, allocations: 15.98 kB / 0.5586 GB, free: 3.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.1403, allocations: 174 kB / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1403, allocations: 0 / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008858/0.1412, allocations: 139.8 kB / 0.5589 GB, free: 3.078 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.001364/0.1426, allocations: 1.629 MB / 0.5605 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006504/0.1432, allocations: 333.3 kB / 0.5609 GB, free: 1.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1432, allocations: 1.75 kB / 0.5609 GB, free: 1.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.1434, allocations: 124.1 kB / 0.561 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.1447, allocations: 93.17 kB / 0.5611 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007134/0.1518, allocations: 5.614 MB / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.1523, allocations: 0.8275 MB / 0.5674 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.1526, allocations: 52.14 kB / 0.5674 GB, free: 9.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.1528, allocations: 143.4 kB / 0.5675 GB, free: 9.84 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1528, allocations: 0 / 0.5675 GB, free: 9.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.189, allocations: 8.394 MB / 0.5757 GB, free: 1.605 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.894/9.083, allocations: 7.922 kB / 0.5757 GB, free: 1.598 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.279932359233499]