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.0009118/0.0009116, allocations: 97.72 kB / 16.02 MB, free: 84 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.001152/0.001152, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.28/1.28, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.3209/0.3209, allocations: 43.58 MB / 315 MB, free: 8.637 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.0004889/0.0004889, allocations: 14.97 kB / 384.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003112/0.1054, allocations: 2.724 MB / 446.3 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006143/0.1061, allocations: 418.5 kB / 446.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.1062, allocations: 8 kB / 446.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.078e-05/0.1063, allocations: 47.61 kB / 446.7 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.1066, allocations: 142.8 kB / 446.9 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.1068, allocations: 83.94 kB / 446.9 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004581/0.1073, allocations: 0.5208 MB / 447.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.1076, allocations: 125.2 kB / 447.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.1078, allocations: 175.3 kB / 447.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.108, allocations: 199 kB / 448 MB, free: 8.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.1081, allocations: 27.98 kB / 448 MB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.554e-05/0.1081, allocations: 24 kB / 448 MB, free: 8.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.1082, allocations: 83.62 kB / 448.1 MB, free: 8.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.1084, allocations: 252.6 kB / 448.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.1088, allocations: 0.4905 MB / 448.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1088, allocations: 0 / 448.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1089, allocations: 0 / 448.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1089, allocations: 0 / 448.8 MB, free: 7.27 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.0008158/0.1097, allocations: 0.6356 MB / 449.5 MB, free: 6.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1097, allocations: 12.03 kB / 449.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.437e-05/0.1098, allocations: 90.64 kB / 449.6 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.1099, allocations: 56.28 kB / 449.6 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.1102, allocations: 291.4 kB / 449.9 MB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.1103, allocations: 37.31 kB / 449.9 MB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.1104, allocations: 56.28 kB / 450 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.111, allocations: 466.5 kB / 450.4 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.111, allocations: 15.84 kB / 450.5 MB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.1111, allocations: 16 kB / 450.5 MB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.1111, allocations: 16 kB / 450.5 MB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.1115, allocations: 255.7 kB / 450.7 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.1135, allocations: 1.707 MB / 452.5 MB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.1141, allocations: 411.9 kB / 452.9 MB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.1143, allocations: 163.6 kB / 453 MB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1143, allocations: 4 kB / 453 MB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1143, allocations: 54.48 kB / 453.1 MB, free: 2.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.664e-06/0.1144, allocations: 0 / 453.1 MB, free: 2.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006999/0.1151, allocations: 361 kB / 453.4 MB, free: 2.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.1152, allocations: 265.5 kB / 453.7 MB, free: 2.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.1155, allocations: 254.6 kB / 453.9 MB, free: 1.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.1155, allocations: 33.7 kB / 454 MB, free: 1.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.1157, allocations: 247.6 kB / 454.2 MB, free: 1.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1158, allocations: 177.4 kB / 454.4 MB, free: 1.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.1159, allocations: 61.69 kB / 454.4 MB, free: 1.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.116, allocations: 346.8 kB / 454.8 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.1162, allocations: 125.9 kB / 454.9 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.1166, allocations: 413.6 kB / 455.3 MB, free: 216 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2012/0.3178, allocations: 0.5707 MB / 455.9 MB, free: 44.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.3179, allocations: 2.906 kB / 455.9 MB, free: 44.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009087/0.3188, allocations: 0.5679 MB / 456.4 MB, free: 44.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.3188, allocations: 10.88 kB / 456.5 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3189, allocations: 8.688 kB / 456.5 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.3189, allocations: 15.16 kB / 456.5 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.3194, allocations: 178.5 kB / 456.7 MB, free: 44.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.3194, allocations: 21.23 kB / 456.7 MB, free: 44.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.3197, allocations: 66.23 kB / 456.7 MB, free: 44.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.3197, allocations: 30.97 kB / 456.8 MB, free: 44.53 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.0001794/0.3199, allocations: 188.4 kB / 457 MB, free: 44.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.3201, allocations: 39.06 kB / 457 MB, free: 44.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.86e-05/0.3202, allocations: 43.02 kB / 457 MB, free: 44.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3202, allocations: 6.469 kB / 457 MB, free: 44.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3202, allocations: 6.844 kB / 457 MB, free: 44.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3202, allocations: 10.22 kB / 457.1 MB, free: 44.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.3211, allocations: 417.4 kB / 457.5 MB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3211, allocations: 3.719 kB / 457.5 MB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.3216, allocations: 120 kB / 457.6 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.3216, allocations: 5.734 kB / 457.6 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.3216, allocations: 12.5 kB / 457.6 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3216, allocations: 5.812 kB / 457.6 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3216, allocations: 1.109 kB / 457.6 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.3222, allocations: 1.081 MB / 458.7 MB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.3223, allocations: 122 kB / 458.8 MB, free: 43.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.3223, allocations: 10.28 kB / 458.8 MB, free: 43.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.3227, allocations: 12.03 kB / 458.8 MB, free: 43.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.3227, allocations: 38.72 kB / 458.9 MB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3227, allocations: 14.97 kB / 458.9 MB, free: 43.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.3228, allocations: 175.5 kB / 459.1 MB, free: 43.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3229, allocations: 0 / 459.1 MB, free: 43.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007415/0.3236, allocations: 133.2 kB / 459.2 MB, free: 43.27 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.0007394/0.3243, allocations: 1.641 MB / 460.8 MB, free: 41.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004037/0.3248, allocations: 340.5 kB / 461.2 MB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.3248, allocations: 7.391 kB / 461.2 MB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3249, allocations: 131 kB / 461.3 MB, free: 41.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.3261, allocations: 96.53 kB / 461.4 MB, free: 41.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/0.331, allocations: 6.115 MB / 467.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.3313, allocations: 0.8286 MB / 468.3 MB, free: 36.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.3315, allocations: 52.91 kB / 468.4 MB, free: 36.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.3317, allocations: 137.7 kB / 468.5 MB, free: 36.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3317, allocations: 0 / 468.5 MB, free: 36.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.3491, allocations: 7.697 MB / 476.2 MB, free: 36.24 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.3493, allocations: 214.3 kB / 476.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.217, allocations: 0 / 476.4 MB, free: 35.98 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