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.001046/0.001046, allocations: 93.09 kB / 17.35 MB, free: 6.371 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.0009388/0.0009389, allocations: 172.4 kB / 18.25 MB, free: 5.523 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.208/1.208, allocations: 223.3 MB / 242.3 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1715/0.1715, allocations: 44.24 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 8.688 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09498, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002551/0.09756, allocations: 2.717 MB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005153/0.0981, allocations: 410.5 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.09822, allocations: 8 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.275e-05/0.0983, allocations: 51.61 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.09855, allocations: 142.8 kB / 475.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.09873, allocations: 91.92 kB / 475.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.09914, allocations: 0.5208 MB / 476.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.09935, allocations: 136.9 kB / 476.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.09951, allocations: 175.2 kB / 476.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.09971, allocations: 199.1 kB / 476.8 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.09976, allocations: 24 kB / 476.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.985e-05/0.09981, allocations: 27.94 kB / 476.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.09988, allocations: 75.69 kB / 476.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.1001, allocations: 260.6 kB / 477.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.1004, allocations: 498.3 kB / 477.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1004, allocations: 4 kB / 477.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1004, allocations: 0 / 477.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1004, allocations: 0 / 477.6 MB, free: 7.922 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.0007309/0.1012, allocations: 0.6416 MB / 478.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1012, allocations: 8.031 kB / 478.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.393e-05/0.1013, allocations: 82.72 kB / 478.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.59e-05/0.1014, allocations: 56.36 kB / 478.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1016, allocations: 291.5 kB / 478.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.1017, allocations: 29.38 kB / 478.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/0.1017, allocations: 56.28 kB / 478.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.1023, allocations: 462.7 kB / 479.3 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.1023, allocations: 11.84 kB / 479.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.1024, allocations: 20 kB / 479.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1024, allocations: 15.98 kB / 479.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.1028, allocations: 263.6 kB / 479.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.1046, allocations: 1.699 MB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.1051, allocations: 415.8 kB / 481.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1052, allocations: 159.8 kB / 481.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1053, allocations: 8 kB / 481.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1053, allocations: 54.48 kB / 481.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.965e-06/0.1053, allocations: 0 / 481.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006208/0.1059, allocations: 357.6 kB / 482.2 MB, free: 3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.75e-05/0.106, allocations: 273.5 kB / 482.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.1062, allocations: 246.6 kB / 482.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1063, allocations: 33.7 kB / 482.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1064, allocations: 239.6 kB / 483 MB, free: 2.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.1065, allocations: 181.5 kB / 483.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.1066, allocations: 61.69 kB / 483.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1067, allocations: 346.8 kB / 483.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.1069, allocations: 117.9 kB / 483.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.1072, allocations: 421.6 kB / 484.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.1077, allocations: 0.5724 MB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1078, allocations: 7.938 kB / 484.7 MB, free: 168 kB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007102/0.1085, allocations: 0.5675 MB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1085, allocations: 8 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1085, allocations: 12 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1085, allocations: 15.94 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.109, allocations: 183.7 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.1091, allocations: 15.94 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.1093, allocations: 67.91 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.1093, allocations: 36 kB / 485.6 MB, free: 15.26 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.0001465/0.1095, allocations: 189.7 kB / 485.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.1097, allocations: 35.62 kB / 485.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/0.1097, allocations: 45.64 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1097, allocations: 11.94 kB / 485.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1098, allocations: 4 kB / 485.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1098, allocations: 4 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008622/0.1106, allocations: 417.1 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1106, allocations: 0 / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/0.1112, allocations: 123.9 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1112, allocations: 8 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.1112, allocations: 19.98 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1112, allocations: 3.938 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1113, allocations: 4 kB / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.1119, allocations: 1.076 MB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.112, allocations: 116.6 kB / 487.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.112, allocations: 15.94 kB / 487.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.1124, allocations: 11.94 kB / 487.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1125, allocations: 39.89 kB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1125, allocations: 12 kB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.1126, allocations: 170 kB / 487.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1126, allocations: 0 / 487.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007145/0.1133, allocations: 131.8 kB / 488 MB, free: 12.75 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.0008795/0.1142, allocations: 1.643 MB / 489.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004343/0.1147, allocations: 345.4 kB / 490 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1147, allocations: 256 / 490 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1148, allocations: 127.8 kB / 490.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.116, allocations: 94.12 kB / 490.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005775/0.1218, allocations: 6.104 MB / 496.3 MB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.1222, allocations: 0.8356 MB / 497.1 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.1223, allocations: 48.16 kB / 497.2 MB, free: 3.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.1225, allocations: 143.4 kB / 497.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1225, allocations: 0 / 497.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.552/1.674, allocations: 7.695 MB / 0.4932 GB, free: 11.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/1.674, allocations: 225.8 kB / 0.4934 GB, free: 11.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/3.739, allocations: 0 / 0.4934 GB, free: 11.2 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