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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2073/0.2073, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 65.33 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09939, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004439/0.1039, allocations: 3.056 MB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1049, allocations: 414.5 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.1053, allocations: 11.94 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.1055, allocations: 71.3 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004929/0.106, allocations: 162.5 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.1064, allocations: 103.9 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007103/0.1071, allocations: 0.5365 MB / 473.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.1074, allocations: 160.6 kB / 473.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.1078, allocations: 199.3 kB / 474 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.1081, allocations: 223 kB / 474.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.52e-05/0.1082, allocations: 44 kB / 474.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.928e-05/0.1083, allocations: 40 kB / 474.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.1083, allocations: 83.7 kB / 474.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.1086, allocations: 250.9 kB / 474.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.1091, allocations: 0.5179 MB / 475.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1091, allocations: 3.984 kB / 475.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1091, allocations: 0 / 475.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.1091, allocations: 0 / 475.2 MB, free: 8.387 MB / 350.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.001033/0.1101, allocations: 0.7097 MB / 475.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1102, allocations: 12.03 kB / 475.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.168e-05/0.1103, allocations: 86.7 kB / 476 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.456e-05/0.1104, allocations: 52.28 kB / 476 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.1107, allocations: 287.6 kB / 476.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.1108, allocations: 37.38 kB / 476.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/0.1108, allocations: 60.27 kB / 476.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.1115, allocations: 458.6 kB / 476.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.1115, allocations: 19.72 kB / 476.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.1115, allocations: 24 kB / 476.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1116, allocations: 12 kB / 476.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003827/0.1119, allocations: 263.6 kB / 477.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.114, allocations: 1.691 MB / 478.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.1145, allocations: 423.8 kB / 479.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.1147, allocations: 151.7 kB / 479.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1147, allocations: 15.92 kB / 479.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1147, allocations: 46.56 kB / 479.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.1147, allocations: 3.938 kB / 479.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006686/0.1154, allocations: 349.5 kB / 479.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.1155, allocations: 273.5 kB / 480.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.1158, allocations: 250.6 kB / 480.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1158, allocations: 33.7 kB / 480.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1159, allocations: 243.6 kB / 480.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.1161, allocations: 185.4 kB / 480.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1162, allocations: 110.6 kB / 480.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1163, allocations: 346.8 kB / 481.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.1165, allocations: 125.9 kB / 481.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.1169, allocations: 421.4 kB / 481.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.1175, allocations: 0.5732 MB / 482.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.1175, allocations: 4 kB / 482.4 MB, free: 500 kB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008109/0.1184, allocations: 0.5673 MB / 482.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1184, allocations: 11.98 kB / 482.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.1184, allocations: 12 kB / 483 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.1184, allocations: 15.94 kB / 483 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/0.119, allocations: 179.7 kB / 483.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.119, allocations: 19.92 kB / 483.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.1192, allocations: 67.81 kB / 483.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.1193, allocations: 32 kB / 483.3 MB, free: 15.58 MB / 366.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.0001637/0.1195, allocations: 185.5 kB / 483.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.1196, allocations: 39.61 kB / 483.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.1197, allocations: 45.64 kB / 483.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1197, allocations: 11.94 kB / 483.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1198, allocations: 4 kB / 483.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1198, allocations: 0 / 483.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009102/0.1207, allocations: 417.1 kB / 484 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1207, allocations: 4 kB / 484 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.1212, allocations: 124 kB / 484.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.1212, allocations: 8 kB / 484.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.1213, allocations: 16 kB / 484.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.1213, allocations: 15.86 kB / 484.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1213, allocations: 3.938 kB / 484.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.122, allocations: 1.076 MB / 485.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.1221, allocations: 112.6 kB / 485.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.1222, allocations: 15.94 kB / 485.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.1226, allocations: 8 kB / 485.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.1226, allocations: 35.95 kB / 485.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1226, allocations: 8 kB / 485.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1228, allocations: 174 kB / 485.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1228, allocations: 0 / 485.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007647/0.1236, allocations: 131.8 kB / 485.7 MB, free: 13.07 MB / 366.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.001002/0.1246, allocations: 1.642 MB / 487.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005209/0.1251, allocations: 369.7 kB / 487.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1251, allocations: 0 / 487.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.1253, allocations: 132.3 kB / 487.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.1265, allocations: 92.72 kB / 487.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.1323, allocations: 5.61 MB / 493.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1327, allocations: 0.8314 MB / 494.3 MB, free: 3.984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001693/0.1329, allocations: 48.16 kB / 494.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.1331, allocations: 143.4 kB / 494.5 MB, free: 3.793 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1331, allocations: 4 kB / 494.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4094/0.5425, allocations: 8.111 MB / 0.4909 GB, free: 11.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/8.886, allocations: 7.719 kB / 0.4909 GB, free: 11.8 MB / 382.1 MB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches