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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001224, allocations: 206.4 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.1 MB / 222.6 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.298/0.298, allocations: 43.5 MB / 313.5 MB, free: 8.59 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.91 kB / 382.1 MB, free: 8.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09701, allocations: 57.78 MB / 439.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003576/0.1006, allocations: 3.109 MB / 443 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005374/0.1012, allocations: 414.5 kB / 443.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1013, allocations: 8 kB / 443.4 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.1014, allocations: 51.61 kB / 443.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.1017, allocations: 146.8 kB / 443.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.1019, allocations: 83.94 kB / 443.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.1023, allocations: 0.5169 MB / 444.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.1025, allocations: 125.2 kB / 444.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.1026, allocations: 187.3 kB / 444.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.1028, allocations: 211 kB / 444.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.1029, allocations: 28 kB / 444.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/0.103, allocations: 28 kB / 444.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.103, allocations: 87.61 kB / 444.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.1032, allocations: 226.9 kB / 445.1 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.1036, allocations: 0.4985 MB / 445.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.1036, allocations: 0 / 445.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1036, allocations: 7.938 kB / 445.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1036, allocations: 0 / 445.6 MB, free: 9.32 MB / 382.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.0008298/0.1045, allocations: 0.7135 MB / 446.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1045, allocations: 16.02 kB / 446.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.423e-05/0.1046, allocations: 86.7 kB / 446.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.659e-05/0.1047, allocations: 52.38 kB / 446.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.1049, allocations: 299.2 kB / 446.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.105, allocations: 33.38 kB / 446.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.105, allocations: 60.27 kB / 446.9 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.1057, allocations: 462.6 kB / 447.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.1057, allocations: 15.84 kB / 447.3 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.1058, allocations: 23.94 kB / 447.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.1058, allocations: 12 kB / 447.4 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.1061, allocations: 259.7 kB / 447.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.1081, allocations: 1.699 MB / 449.3 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.1086, allocations: 415.4 kB / 449.7 MB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.1087, allocations: 155.7 kB / 449.9 MB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1088, allocations: 4 kB / 449.9 MB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1088, allocations: 50.48 kB / 449.9 MB, free: 4.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.723e-06/0.1088, allocations: 4 kB / 449.9 MB, free: 4.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006541/0.1095, allocations: 367 kB / 450.3 MB, free: 4.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.1096, allocations: 273 kB / 450.5 MB, free: 3.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1098, allocations: 246.6 kB / 450.8 MB, free: 3.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1098, allocations: 33.7 kB / 450.8 MB, free: 3.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.11, allocations: 243.6 kB / 451.1 MB, free: 3.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.1101, allocations: 181.4 kB / 451.2 MB, free: 3.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.1102, allocations: 114.6 kB / 451.3 MB, free: 3.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1104, allocations: 350.8 kB / 451.7 MB, free: 2.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.1105, allocations: 121.9 kB / 451.8 MB, free: 2.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.1109, allocations: 413.6 kB / 452.2 MB, free: 2.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.1115, allocations: 0.5684 MB / 452.8 MB, free: 1.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.1115, allocations: 4 kB / 452.8 MB, free: 1.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00075/0.1123, allocations: 0.5714 MB / 453.4 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1123, allocations: 8 kB / 453.4 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.1123, allocations: 12 kB / 453.4 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.1124, allocations: 15.94 kB / 453.4 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.1129, allocations: 176.3 kB / 453.6 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/0.1129, allocations: 28 kB / 453.6 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.1132, allocations: 67.28 kB / 453.7 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.1132, allocations: 32 kB / 453.7 MB, free: 0.5117 MB / 382.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.0001732/0.1134, allocations: 197.4 kB / 453.9 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.1136, allocations: 39.61 kB / 453.9 MB, free: 276 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.663e-05/0.1137, allocations: 41.7 kB / 454 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1137, allocations: 11.94 kB / 454 MB, free: 216 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1137, allocations: 0 / 454 MB, free: 216 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1137, allocations: 4 kB / 454 MB, free: 212 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1561/0.2698, allocations: 413.7 kB / 454.4 MB, free: 48.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.2699, allocations: 0.5625 kB / 454.4 MB, free: 48.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.2704, allocations: 121.4 kB / 454.5 MB, free: 48.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.2704, allocations: 5.531 kB / 454.5 MB, free: 48.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.2705, allocations: 13.31 kB / 454.5 MB, free: 48.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.2705, allocations: 9.594 kB / 454.5 MB, free: 48.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2705, allocations: 2.719 kB / 454.5 MB, free: 48.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006631/0.2712, allocations: 1.076 MB / 455.6 MB, free: 47.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.892e-05/0.2712, allocations: 114.1 kB / 455.7 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.2713, allocations: 16.38 kB / 455.7 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.2717, allocations: 6.781 kB / 455.7 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.2717, allocations: 35.23 kB / 455.8 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.2718, allocations: 17.59 kB / 455.8 MB, free: 47.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.2719, allocations: 173.5 kB / 456 MB, free: 47.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.71e-07/0.2719, allocations: 0 / 456 MB, free: 47.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007831/0.2727, allocations: 142.8 kB / 456.1 MB, free: 47.26 MB / 382.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.000788/0.2735, allocations: 1.631 MB / 457.7 MB, free: 45.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004877/0.274, allocations: 347.2 kB / 458.1 MB, free: 45.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.274, allocations: 0 / 458.1 MB, free: 45.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.2741, allocations: 131.5 kB / 458.2 MB, free: 45.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.2753, allocations: 88.05 kB / 458.3 MB, free: 45.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/0.28, allocations: 5.773 MB / 464.1 MB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.2802, allocations: 0.8315 MB / 464.9 MB, free: 41.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.2804, allocations: 45.16 kB / 464.9 MB, free: 41.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.2805, allocations: 140.8 kB / 465.1 MB, free: 41.21 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2805, allocations: 0 / 465.1 MB, free: 41.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.2967, allocations: 7.832 MB / 472.9 MB, free: 40.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.2969, allocations: 214.9 kB / 473.1 MB, free: 40.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.076, allocations: 0 / 473.1 MB, free: 40.19 MB / 382.1 MB (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 --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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches