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.0009578/0.0009578, allocations: 98.61 kB / 17 MB, free: 6.844 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.001084/0.001084, allocations: 186.8 kB / 17.89 MB, free: 6.078 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.369/1.369, allocations: 223.2 MB / 241.9 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 44.22 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 61.91 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002963/0.1414, allocations: 2.601 MB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005979/0.142, allocations: 418.5 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1422, allocations: 8 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.358e-05/0.1423, allocations: 39.62 kB / 474.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.1425, allocations: 146.8 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1428, allocations: 75.86 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.1432, allocations: 0.5091 MB / 475.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.1435, allocations: 132.9 kB / 475.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.1436, allocations: 171.4 kB / 475.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.1439, allocations: 187.2 kB / 475.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.1439, allocations: 24 kB / 475.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.698e-05/0.144, allocations: 24 kB / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.1441, allocations: 79.69 kB / 476 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.104e-05/0.1442, allocations: 113.5 kB / 476.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.1445, allocations: 391.1 kB / 476.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1445, allocations: 0 / 476.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1445, allocations: 0 / 476.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1445, allocations: 0 / 476.5 MB, free: 8.727 MB / 350.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.0008106/0.1453, allocations: 0.6376 MB / 477.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1454, allocations: 12.03 kB / 477.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.756e-05/0.1455, allocations: 90.52 kB / 477.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.1456, allocations: 55.44 kB / 477.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.1459, allocations: 282.3 kB / 477.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.1459, allocations: 40.95 kB / 477.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.146, allocations: 51.91 kB / 477.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.1466, allocations: 454.1 kB / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.1467, allocations: 11.92 kB / 478.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.1467, allocations: 20 kB / 478.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.1467, allocations: 12 kB / 478.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.1471, allocations: 255.6 kB / 478.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.1493, allocations: 1.703 MB / 480.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.1498, allocations: 419.3 kB / 480.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.15, allocations: 155.7 kB / 480.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1501, allocations: 8 kB / 480.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.1501, allocations: 47.05 kB / 480.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.864e-06/0.1501, allocations: 0 / 480.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007076/0.1508, allocations: 360.8 kB / 481.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.151, allocations: 269 kB / 481.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.1512, allocations: 243.2 kB / 481.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1513, allocations: 41.7 kB / 481.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.1514, allocations: 239.6 kB / 481.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.1516, allocations: 185.4 kB / 482 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.1516, allocations: 12 kB / 482 MB, free: 2.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1518, allocations: 350.8 kB / 482.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.152, allocations: 114 kB / 482.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.1524, allocations: 413.6 kB / 482.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.1526, allocations: 193.2 kB / 483.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1527, allocations: 4 kB / 483.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008055/0.1535, allocations: 0.567 MB / 483.7 MB, free: 1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.1535, allocations: 12 kB / 483.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1535, allocations: 8.875 kB / 483.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.1536, allocations: 16 kB / 483.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/0.1541, allocations: 183.7 kB / 483.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/0.1541, allocations: 19.94 kB / 483.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.1544, allocations: 63.38 kB / 484 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.1544, allocations: 35.98 kB / 484 MB, free: 0.668 MB / 350.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.0001971/0.1546, allocations: 186.1 kB / 484.2 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.1548, allocations: 35.62 kB / 484.2 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/0.1549, allocations: 41.7 kB / 484.3 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1549, allocations: 7.938 kB / 484.3 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.1549, allocations: 11.95 kB / 484.3 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.1549, allocations: 7.984 kB / 484.3 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009811/0.1559, allocations: 405.2 kB / 484.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.156, allocations: 4 kB / 484.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.1565, allocations: 127.8 kB / 484.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1565, allocations: 4 kB / 484.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.1566, allocations: 15.98 kB / 484.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1566, allocations: 4 kB / 484.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1566, allocations: 4 kB / 484.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/0.1574, allocations: 1.076 MB / 485.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1575, allocations: 116.6 kB / 486 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.1576, allocations: 15.98 kB / 486 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.158, allocations: 8 kB / 486 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.158, allocations: 31.92 kB / 486.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.158, allocations: 8 kB / 486.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.1582, allocations: 178 kB / 486.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1582, allocations: 3.938 kB / 486.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007834/0.159, allocations: 131.8 kB / 486.4 MB, free: 14.17 MB / 366.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.001181/0.1602, allocations: 1.635 MB / 488 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.1608, allocations: 340.2 kB / 488.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1608, allocations: 0 / 488.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.1609, allocations: 125.2 kB / 488.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.1621, allocations: 100.6 kB / 488.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.1673, allocations: 3.888 MB / 492.5 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.1678, allocations: 0.8278 MB / 493.3 MB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.168, allocations: 48.16 kB / 493.3 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.1682, allocations: 143.4 kB / 493.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1682, allocations: 0 / 493.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.1901, allocations: 7.501 MB / 0.4892 GB, free: 15.5 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003683/0.1906, allocations: 206.6 kB / 0.4894 GB, free: 15.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.209, allocations: 0 / 0.4894 GB, free: 15.25 MB / 382.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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat