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.0009968/0.000997, allocations: 97.41 kB / 15.7 MB, free: 468 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.001252/0.001252, allocations: 173.8 kB / 16.58 MB, free: 6.848 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.422/1.422, allocations: 205.4 MB / 222.7 MB, free: 5.887 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.3369/0.3369, allocations: 43.54 MB / 314.6 MB, free: 8.855 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.0005013/0.0005014, allocations: 19.97 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1279, allocations: 58.86 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003506/0.1315, allocations: 2.609 MB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1329, allocations: 410.5 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004689/0.1334, allocations: 8 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.1336, allocations: 55.55 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005403/0.1341, allocations: 134.8 kB / 446.1 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.1345, allocations: 79.92 kB / 446.2 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007732/0.1353, allocations: 0.5052 MB / 446.7 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.1356, allocations: 125.1 kB / 446.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.1359, allocations: 167.4 kB / 446.9 MB, free: 9.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.1363, allocations: 195.2 kB / 447.1 MB, free: 8.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.952e-05/0.1364, allocations: 28 kB / 447.2 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1365, allocations: 24 kB / 447.2 MB, free: 8.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1366, allocations: 71.69 kB / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.1367, allocations: 113.5 kB / 447.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.1371, allocations: 391.1 kB / 447.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1371, allocations: 0 / 447.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1371, allocations: 0 / 447.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.1371, allocations: 0 / 447.7 MB, free: 8.297 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.0009466/0.138, allocations: 0.6432 MB / 448.4 MB, free: 7.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1381, allocations: 8.031 kB / 448.4 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.1382, allocations: 90.52 kB / 448.5 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.309e-05/0.1383, allocations: 55.34 kB / 448.5 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.1387, allocations: 290.1 kB / 448.8 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.1387, allocations: 33 kB / 448.9 MB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/0.1388, allocations: 51.91 kB / 448.9 MB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.1396, allocations: 458.1 kB / 449.4 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/0.1396, allocations: 11.91 kB / 449.4 MB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.1396, allocations: 16 kB / 449.4 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.1397, allocations: 16 kB / 449.4 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.1401, allocations: 259.7 kB / 449.7 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.1422, allocations: 1.707 MB / 451.4 MB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.1428, allocations: 423.7 kB / 451.8 MB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.143, allocations: 151.7 kB / 451.9 MB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.143, allocations: 7.938 kB / 451.9 MB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.143, allocations: 50.56 kB / 452 MB, free: 3.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.143, allocations: 0 / 452 MB, free: 3.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006755/0.1437, allocations: 349.7 kB / 452.3 MB, free: 3.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.1439, allocations: 276.9 kB / 452.6 MB, free: 3.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1441, allocations: 246.6 kB / 452.8 MB, free: 2.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1441, allocations: 33.7 kB / 452.9 MB, free: 2.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.1443, allocations: 247.6 kB / 453.1 MB, free: 2.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.1444, allocations: 177.5 kB / 453.3 MB, free: 2.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.1445, allocations: 12 kB / 453.3 MB, free: 2.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1446, allocations: 354.7 kB / 453.6 MB, free: 1.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.1449, allocations: 118 kB / 453.8 MB, free: 1.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.1453, allocations: 417.6 kB / 454.2 MB, free: 1.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.1456, allocations: 179.9 kB / 454.3 MB, free: 1.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.1456, allocations: 4 kB / 454.3 MB, free: 1.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008245/0.1464, allocations: 0.5687 MB / 454.9 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.1464, allocations: 8 kB / 454.9 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.1465, allocations: 12 kB / 454.9 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.1465, allocations: 12 kB / 454.9 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.147, allocations: 179.7 kB / 455.1 MB, free: 356 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.698e-05/0.1471, allocations: 15.94 kB / 455.1 MB, free: 340 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.1473, allocations: 67.28 kB / 455.2 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.1474, allocations: 32 kB / 455.2 MB, free: 240 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.1476, allocations: 201.5 kB / 455.4 MB, free: 28 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2222/0.3697, allocations: 33.23 kB / 455.5 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.3699, allocations: 37.78 kB / 455.5 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.37, allocations: 6.656 kB / 455.5 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.37, allocations: 2.75 kB / 455.5 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.37, allocations: 5.484 kB / 455.5 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.3712, allocations: 423 kB / 455.9 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3712, allocations: 0 / 455.9 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.3717, allocations: 123.2 kB / 456 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.3717, allocations: 3.75 kB / 456 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.3717, allocations: 17.48 kB / 456.1 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.3717, allocations: 12.16 kB / 456.1 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3717, allocations: 3.094 kB / 456.1 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.3724, allocations: 1.075 MB / 457.2 MB, free: 44.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.3725, allocations: 106.7 kB / 457.3 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.3726, allocations: 13.25 kB / 457.3 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.373, allocations: 14.66 kB / 457.3 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.373, allocations: 27.23 kB / 457.3 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.373, allocations: 19.88 kB / 457.3 MB, free: 44.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.3732, allocations: 167.1 kB / 457.5 MB, free: 44.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3732, allocations: 0 / 457.5 MB, free: 44.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008484/0.374, allocations: 144.1 kB / 457.6 MB, free: 44.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008034/0.3748, allocations: 1.625 MB / 459.3 MB, free: 43.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004979/0.3753, allocations: 342.5 kB / 459.6 MB, free: 43.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3754, allocations: 0 / 459.6 MB, free: 43.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.3755, allocations: 137.4 kB / 459.7 MB, free: 43.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.3766, allocations: 83.38 kB / 459.8 MB, free: 43.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.3808, allocations: 3.888 MB / 463.7 MB, free: 40.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.3811, allocations: 0.83 MB / 464.5 MB, free: 40.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.3812, allocations: 52.66 kB / 464.6 MB, free: 40.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3814, allocations: 140.5 kB / 464.7 MB, free: 40.15 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3814, allocations: 0 / 464.7 MB, free: 40.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.3985, allocations: 7.5 MB / 472.2 MB, free: 39.5 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/0.3987, allocations: 195.4 kB / 472.4 MB, free: 39.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.256, allocations: 2.625 kB / 472.4 MB, free: 39.26 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat