Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002415/0.002421, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001165, allocations: 90.88 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2933/0.2933, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005022, allocations: 8 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 58.87 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005707/0.1281, allocations: 2.403 MB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1299, allocations: 450.7 kB / 493.2 MB, free: 6.383 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004175/0.1304, allocations: 11.94 kB / 493.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.1306, allocations: 51.61 kB / 493.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008922/0.1315, allocations: 175.5 kB / 493.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.1321, allocations: 75.91 kB / 493.5 MB, free: 6.074 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.1333, allocations: 387.1 kB / 493.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004979/0.1339, allocations: 125.1 kB / 494 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005104/0.1344, allocations: 171.4 kB / 494.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005474/0.135, allocations: 187.2 kB / 494.3 MB, free: 5.207 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.1351, allocations: 24 kB / 494.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.1353, allocations: 28 kB / 494.4 MB, free: 5.156 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.1355, allocations: 75.69 kB / 494.4 MB, free: 5.082 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.1358, allocations: 117.5 kB / 494.6 MB, free: 4.961 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009867/0.1368, allocations: 379.2 kB / 494.9 MB, free: 4.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.016e-06/0.1368, allocations: 8 kB / 494.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1368, allocations: 0 / 494.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.1369, allocations: 0 / 494.9 MB, free: 4.582 MB / 330.7 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.002552/0.1395, allocations: 0.6315 MB / 495.6 MB, free: 3.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/0.1396, allocations: 12.03 kB / 495.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002321/0.1398, allocations: 86.52 kB / 495.7 MB, free: 3.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.14, allocations: 55.39 kB / 495.7 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007466/0.1408, allocations: 286.2 kB / 496 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.126e-05/0.1409, allocations: 33 kB / 496 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.1411, allocations: 55.91 kB / 496.1 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.1427, allocations: 458 kB / 496.5 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-05/0.1429, allocations: 11.89 kB / 496.5 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.352e-05/0.143, allocations: 20 kB / 496.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.143, allocations: 12 kB / 496.6 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.1442, allocations: 255.3 kB / 496.8 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/0.1481, allocations: 1.707 MB / 498.5 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008495/0.149, allocations: 407.4 kB / 498.9 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.149, allocations: 8 kB / 498.9 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/0.1491, allocations: 46.5 kB / 499 MB, free: 236 kB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 4.098e-06/0.1491, allocations: 0 / 499 MB, free: 236 kB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.001173/0.1503, allocations: 351.2 kB / 499.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.1505, allocations: 277 kB / 499.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.1509, allocations: 254.6 kB / 499.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.1509, allocations: 33.7 kB / 499.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.1511, allocations: 298 kB / 0.4884 GB, free: 14.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.1513, allocations: 181.4 kB / 0.4886 GB, free: 14.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1514, allocations: 16 kB / 0.4886 GB, free: 14.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1516, allocations: 342.8 kB / 0.489 GB, free: 14.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.1519, allocations: 113.9 kB / 0.4891 GB, free: 14.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/0.1526, allocations: 413.6 kB / 0.4895 GB, free: 13.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.1531, allocations: 191.9 kB / 0.4896 GB, free: 13.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.1531, allocations: 3.953 kB / 0.4897 GB, free: 13.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001373/0.1545, allocations: 0.5522 MB / 0.4902 GB, free: 13.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.1545, allocations: 12 kB / 0.4902 GB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.1546, allocations: 8 kB / 0.4902 GB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-05/0.1546, allocations: 16 kB / 0.4902 GB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.1557, allocations: 175.7 kB / 0.4904 GB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-05/0.1558, allocations: 19.94 kB / 0.4904 GB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.1562, allocations: 67.36 kB / 0.4905 GB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.1563, allocations: 32 kB / 0.4905 GB, free: 12.7 MB / 346.7 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.0003452/0.1567, allocations: 189.7 kB / 0.4907 GB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.1569, allocations: 43.48 kB / 0.4907 GB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.1571, allocations: 41.7 kB / 0.4908 GB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.1571, allocations: 4 kB / 0.4908 GB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.1571, allocations: 4 kB / 0.4908 GB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.1571, allocations: 7.984 kB / 0.4908 GB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.1588, allocations: 409.2 kB / 0.4912 GB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.1588, allocations: 7.984 kB / 0.4912 GB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.1601, allocations: 127.8 kB / 0.4913 GB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.779e-05/0.1602, allocations: 11.98 kB / 0.4913 GB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.1602, allocations: 12 kB / 0.4913 GB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.1602, allocations: 4 kB / 0.4913 GB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.311e-06/0.1603, allocations: 4 kB / 0.4913 GB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.1617, allocations: 1.162 MB / 0.4925 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.1619, allocations: 112.7 kB / 0.4926 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.162, allocations: 16.12 kB / 0.4926 GB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005934/0.1626, allocations: 12 kB / 0.4926 GB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.743e-05/0.1627, allocations: 31.86 kB / 0.4926 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.1627, allocations: 19.98 kB / 0.4927 GB, free: 10.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002497/0.163, allocations: 173.9 kB / 0.4928 GB, free: 10.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.163, allocations: 0 / 0.4928 GB, free: 10.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001225/0.1642, allocations: 135.7 kB / 0.4929 GB, free: 10.04 MB / 346.7 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.00202/0.1663, allocations: 2.282 MB / 0.4952 GB, free: 7.695 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009279/0.1673, allocations: 341.1 kB / 0.4955 GB, free: 7.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.1673, allocations: 4 kB / 0.4955 GB, free: 7.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.1676, allocations: 133.3 kB / 0.4956 GB, free: 7.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.1688, allocations: 91.64 kB / 0.4957 GB, free: 7.148 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.1797, allocations: 10.49 MB / 0.506 GB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.1804, allocations: 0.8356 MB / 0.5068 GB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.1808, allocations: 143.4 kB / 0.5069 GB, free: 11.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1808, allocations: 0 / 0.5069 GB, free: 11.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.489/2.67, allocations: 6.772 MB / 0.5135 GB, free: 4.609 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat