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.001278/0.001278, allocations: 117.1 kB / 17.78 MB, free: 5.246 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.001319/0.001319, allocations: 184.2 kB / 18.72 MB, free: 4.32 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.377/1.377, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2152/0.2152, allocations: 44.17 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 59.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2928, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003296/0.2961, allocations: 3.065 MB / 0.5214 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006551/0.2968, allocations: 431.2 kB / 0.5218 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.297, allocations: 7.312 kB / 0.5218 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.2971, allocations: 64.05 kB / 0.5219 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.2974, allocations: 165.5 kB / 0.522 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.2976, allocations: 102.7 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004375/0.2981, allocations: 0.5394 MB / 0.5227 GB, free: 280 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.2983, allocations: 166.8 kB / 0.5228 GB, free: 196 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.2985, allocations: 191 kB / 0.523 GB, free: 112 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.2988, allocations: 217.2 kB / 0.5232 GB, free: 0 / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.2988, allocations: 41.19 kB / 0.5233 GB, free: 0 / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.73e-05/0.2989, allocations: 40.44 kB / 0.5233 GB, free: 0 / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2991, allocations: 96.28 kB / 0.5234 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.2993, allocations: 247.2 kB / 0.5236 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006074/0.2999, allocations: 0.5249 MB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2999, allocations: 0.5625 kB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2999, allocations: 1.156 kB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.3, allocations: 0 / 0.5241 GB, free: 15.58 MB / 398.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.001077/0.301, allocations: 0.7219 MB / 0.5248 GB, free: 15.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3011, allocations: 9.562 kB / 0.5248 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.783e-05/0.3012, allocations: 88.77 kB / 0.5249 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.3013, allocations: 59.75 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.3016, allocations: 291.9 kB / 0.5253 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.3017, allocations: 35.28 kB / 0.5253 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.3018, allocations: 57.97 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006927/0.3025, allocations: 457.8 kB / 0.5258 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.3025, allocations: 15.86 kB / 0.5258 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.3025, allocations: 17.5 kB / 0.5258 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.3026, allocations: 16.38 kB / 0.5258 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.303, allocations: 258 kB / 0.5261 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.3055, allocations: 1.699 MB / 0.5277 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.306, allocations: 410.5 kB / 0.5281 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.3063, allocations: 155.6 kB / 0.5283 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.3063, allocations: 12.95 kB / 0.5283 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.3063, allocations: 38.84 kB / 0.5283 GB, free: 12.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.3063, allocations: 1.438 kB / 0.5283 GB, free: 12.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.000732/0.3071, allocations: 360.8 kB / 0.5287 GB, free: 12.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/0.3073, allocations: 270.4 kB / 0.5289 GB, free: 11.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.3076, allocations: 251.6 kB / 0.5292 GB, free: 11.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.3076, allocations: 36.55 kB / 0.5292 GB, free: 11.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.3078, allocations: 245.2 kB / 0.5294 GB, free: 11.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.3079, allocations: 192 kB / 0.5296 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.3081, allocations: 115.3 kB / 0.5297 GB, free: 11.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3083, allocations: 356.4 kB / 0.5301 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.3085, allocations: 113.7 kB / 0.5302 GB, free: 10.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.3089, allocations: 426.8 kB / 0.5306 GB, free: 10.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/0.3096, allocations: 0.5773 MB / 0.5312 GB, free: 9.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3097, allocations: 2.406 kB / 0.5312 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000853/0.3105, allocations: 0.5671 MB / 0.5317 GB, free: 9.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3105, allocations: 9.375 kB / 0.5317 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.3106, allocations: 10.12 kB / 0.5317 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.3106, allocations: 18.34 kB / 0.5318 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.3111, allocations: 181.2 kB / 0.5319 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-05/0.3112, allocations: 29.7 kB / 0.532 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.3115, allocations: 71.45 kB / 0.532 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.3115, allocations: 32.12 kB / 0.5321 GB, free: 9.434 MB / 398.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.0002138/0.3118, allocations: 177.8 kB / 0.5322 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.3119, allocations: 39.25 kB / 0.5323 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.957e-05/0.312, allocations: 38.11 kB / 0.5323 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.312, allocations: 10.88 kB / 0.5323 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3121, allocations: 2.906 kB / 0.5323 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.3121, allocations: 10.83 kB / 0.5323 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.3131, allocations: 419.6 kB / 0.5327 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.3131, allocations: 1.531 kB / 0.5327 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.3136, allocations: 123.7 kB / 0.5328 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3137, allocations: 2.812 kB / 0.5328 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.3137, allocations: 10.88 kB / 0.5329 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.3137, allocations: 8.188 kB / 0.5329 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.3137, allocations: 9.422 kB / 0.5329 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009203/0.3146, allocations: 1.096 MB / 0.5339 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/0.3148, allocations: 113.8 kB / 0.534 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.3148, allocations: 15.75 kB / 0.5341 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.3152, allocations: 11.31 kB / 0.5341 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.3153, allocations: 26.12 kB / 0.5341 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.3153, allocations: 17.42 kB / 0.5341 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.3154, allocations: 170 kB / 0.5343 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3155, allocations: 0 / 0.5343 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008152/0.3163, allocations: 136.6 kB / 0.5344 GB, free: 7.605 MB / 398.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.001213/0.3175, allocations: 1.634 MB / 0.536 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00055/0.3181, allocations: 349.9 kB / 0.5363 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.3181, allocations: 0 / 0.5363 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.3182, allocations: 125.2 kB / 0.5365 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.3195, allocations: 106.1 kB / 0.5366 GB, free: 5.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/0.3265, allocations: 5.614 MB / 0.542 GB, free: 1.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.3271, allocations: 0.8268 MB / 0.5428 GB, free: 412 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.3273, allocations: 55.27 kB / 0.5429 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.3275, allocations: 141.1 kB / 0.543 GB, free: 264 kB / 398.1 MB Notification: Performance of SimCode: time 4.097e-06/0.3275, allocations: 0 / 0.543 GB, free: 264 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.3611, allocations: 8.305 MB / 0.5511 GB, free: 9.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.587/8.948, allocations: 7.75 kB / 0.5512 GB, free: 9.516 MB / 414.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