Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007924/0.0007924, allocations: 91.38 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009312/0.0009313, allocations: 199.4 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1986/0.1986, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000256/0.000256, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002714/0.1151, allocations: 2.737 MB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000633/0.1157, allocations: 414.5 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1159, allocations: 8 kB / 486.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.268e-05/0.116, allocations: 43.62 kB / 486.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.1162, allocations: 146.8 kB / 486.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.1165, allocations: 91.92 kB / 486.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.1169, allocations: 0.5091 MB / 487.1 MB, free: 108 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.1171, allocations: 133.2 kB / 487.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.1173, allocations: 183.2 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.1175, allocations: 203 kB / 487.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.1176, allocations: 24 kB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.463e-05/0.1176, allocations: 24 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.1177, allocations: 67.7 kB / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.1179, allocations: 260.6 kB / 488 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.1183, allocations: 498.3 kB / 488.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1183, allocations: 4 kB / 488.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1183, allocations: 0 / 488.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1183, allocations: 0 / 488.5 MB, free: 14.73 MB / 366.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.0008387/0.1192, allocations: 0.6355 MB / 489.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.1192, allocations: 8.875 kB / 489.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.382e-05/0.1193, allocations: 86.7 kB / 489.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/0.1194, allocations: 56.31 kB / 489.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.1197, allocations: 299.4 kB / 489.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.1197, allocations: 33.38 kB / 489.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/0.1198, allocations: 60.27 kB / 489.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/0.1204, allocations: 454.7 kB / 490.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.1205, allocations: 11.84 kB / 490.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.1205, allocations: 24 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1205, allocations: 12 kB / 490.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.1209, allocations: 263.6 kB / 490.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.1229, allocations: 1.695 MB / 492.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.1234, allocations: 431.7 kB / 492.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1236, allocations: 155.6 kB / 492.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1236, allocations: 12 kB / 492.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1237, allocations: 46.5 kB / 492.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.883e-06/0.1237, allocations: 0 / 492.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006945/0.1244, allocations: 357.6 kB / 493.1 MB, free: 9.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.1245, allocations: 273 kB / 493.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.1247, allocations: 246.6 kB / 493.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1247, allocations: 33.7 kB / 493.6 MB, free: 9.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.1249, allocations: 243.6 kB / 493.8 MB, free: 8.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.125, allocations: 181.5 kB / 494 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.1251, allocations: 61.69 kB / 494.1 MB, free: 8.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1252, allocations: 350.9 kB / 494.4 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.1254, allocations: 117.9 kB / 494.5 MB, free: 8.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.1258, allocations: 413.6 kB / 494.9 MB, free: 7.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.1264, allocations: 0.5654 MB / 495.5 MB, free: 6.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.1265, allocations: 4 kB / 495.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008101/0.1273, allocations: 0.5715 MB / 496.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1273, allocations: 8 kB / 496.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.1273, allocations: 12 kB / 496.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.1274, allocations: 20.64 kB / 496.1 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.1279, allocations: 179.8 kB / 496.3 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.1279, allocations: 23.92 kB / 496.3 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.1282, allocations: 71.28 kB / 496.4 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.1282, allocations: 36 kB / 496.4 MB, free: 6.047 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.0001774/0.1284, allocations: 181.5 kB / 496.6 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.1286, allocations: 35.62 kB / 496.6 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-05/0.1287, allocations: 45.69 kB / 496.7 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.1287, allocations: 11.94 kB / 496.7 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.1287, allocations: 0 / 496.7 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1287, allocations: 8 kB / 496.7 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009341/0.1296, allocations: 421.1 kB / 497.1 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1297, allocations: 3.938 kB / 497.1 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005228/0.1302, allocations: 123.9 kB / 497.2 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.1302, allocations: 7.938 kB / 497.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.1302, allocations: 16 kB / 497.3 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.1302, allocations: 11.92 kB / 497.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1303, allocations: 0 / 497.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.131, allocations: 1.078 MB / 498.4 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/0.1311, allocations: 112.6 kB / 498.5 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.1312, allocations: 19.94 kB / 498.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.1316, allocations: 8 kB / 498.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.1316, allocations: 35.89 kB / 498.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1316, allocations: 12 kB / 498.5 MB, free: 3.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1318, allocations: 170 kB / 498.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1318, allocations: 0 / 498.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000774/0.1326, allocations: 131.8 kB / 498.8 MB, free: 3.543 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.00101/0.1336, allocations: 1.635 MB / 0.4887 GB, free: 1.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004929/0.1341, allocations: 348.9 kB / 0.4891 GB, free: 1.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1341, allocations: 0 / 0.4891 GB, free: 1.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.1343, allocations: 125.2 kB / 0.4892 GB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.1355, allocations: 94.7 kB / 0.4893 GB, free: 1.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006084/0.1416, allocations: 6.111 MB / 0.4953 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.142, allocations: 0.8317 MB / 0.4961 GB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.1422, allocations: 48.16 kB / 0.4961 GB, free: 9.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.1424, allocations: 147.3 kB / 0.4962 GB, free: 9.773 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1424, allocations: 0 / 0.4962 GB, free: 9.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.1607, allocations: 7.694 MB / 0.5038 GB, free: 2.258 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.161, allocations: 218.3 kB / 0.504 GB, free: 2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.09, allocations: 2.812 kB / 0.504 GB, free: 2 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches