Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000726/0.000726, allocations: 98.59 kB / 17 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000828/0.0008282, allocations: 194.4 kB / 17.91 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.202/0.202, allocations: 45.91 MB / 344.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004766, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1763, allocations: 63.47 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002178/0.1785, allocations: 1.527 MB / 483.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000514/0.1791, allocations: 147.5 kB / 483.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1792, allocations: 4 kB / 483.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.043e-05/0.1793, allocations: 15.84 kB / 483.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.1795, allocations: 51.61 kB / 483.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.1797, allocations: 19.98 kB / 483.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.18, allocations: 175.1 kB / 483.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.1802, allocations: 45.84 kB / 483.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.1804, allocations: 55.8 kB / 483.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1805, allocations: 63.75 kB / 483.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.1805, allocations: 8 kB / 483.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.999e-05/0.1806, allocations: 8 kB / 483.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.1806, allocations: 31.86 kB / 483.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.566e-05/0.1807, allocations: 53.64 kB / 483.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1809, allocations: 131.9 kB / 484 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.1809, allocations: 4 kB / 484 MB, free: 2.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1809, allocations: 0 / 484 MB, free: 2.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1809, allocations: 0 / 484 MB, free: 2.918 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006462/0.1816, allocations: 431.1 kB / 484.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.1817, allocations: 8.031 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.354e-05/0.1817, allocations: 50.55 kB / 484.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.1818, allocations: 19.81 kB / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1821, allocations: 206.8 kB / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1821, allocations: 16.27 kB / 484.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.1822, allocations: 23.98 kB / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.1825, allocations: 161.6 kB / 484.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.1825, allocations: 3.984 kB / 484.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.1825, allocations: 4 kB / 484.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1826, allocations: 4 kB / 484.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.1827, allocations: 87.89 kB / 485 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009782/0.1837, allocations: 0.6189 MB / 485.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.184, allocations: 129.2 kB / 485.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.429e-05/0.1841, allocations: 49.7 kB / 485.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.1841, allocations: 4 kB / 485.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1841, allocations: 34.55 kB / 485.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.1841, allocations: 0 / 485.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007464/0.1849, allocations: 393.3 kB / 486.2 MB, free: 468 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.1849, allocations: 81.11 kB / 486.2 MB, free: 368 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.185, allocations: 129.2 kB / 486.4 MB, free: 228 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1851, allocations: 29.7 kB / 486.4 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.1851, allocations: 124.1 kB / 486.5 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.1852, allocations: 59.19 kB / 486.6 MB, free: 0 / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.1852, allocations: 4.078 kB / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1853, allocations: 326.8 kB / 486.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.1854, allocations: 31.98 kB / 486.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1855, allocations: 104.6 kB / 487 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.393e-05/0.1856, allocations: 59.89 kB / 487.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1856, allocations: 0 / 487.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000326/0.1859, allocations: 214.9 kB / 487.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.186, allocations: 10.03 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.186, allocations: 4.25 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.1862, allocations: 49.69 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1863, allocations: 43.88 kB / 487.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.1884, allocations: 2.713 MB / 490.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.1885, allocations: 15.88 kB / 490.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.1885, allocations: 12 kB / 490.2 MB, free: 12.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.1887, allocations: 133.7 kB / 490.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.1887, allocations: 15.86 kB / 490.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.1888, allocations: 20.75 kB / 490.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.1888, allocations: 4.469 kB / 490.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1888, allocations: 0 / 490.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1888, allocations: 0 / 490.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.1891, allocations: 233.5 kB / 490.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1891, allocations: 0 / 490.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.1893, allocations: 31.88 kB / 490.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.1894, allocations: 45.7 kB / 490.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.1895, allocations: 15.92 kB / 490.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.1913, allocations: 2.716 MB / 493.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1913, allocations: 4.031 kB / 493.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.1917, allocations: 376.4 kB / 493.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.1918, allocations: 88.97 kB / 493.8 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1918, allocations: 8.047 kB / 493.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.1919, allocations: 0 / 493.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1919, allocations: 15.98 kB / 493.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1919, allocations: 4 kB / 493.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.379e-05/0.192, allocations: 99.2 kB / 493.9 MB, free: 7.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.192, allocations: 4 kB / 493.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004241/0.1925, allocations: 51.91 kB / 494 MB, free: 7.891 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007117/0.1932, allocations: 0.903 MB / 494.9 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004823/0.1937, allocations: 349.5 kB / 495.2 MB, free: 6.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1937, allocations: 4.125 kB / 495.2 MB, free: 6.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.194, allocations: 277.4 kB / 495.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.1944, allocations: 24.36 kB / 495.5 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.1964, allocations: 1.368 MB / 496.9 MB, free: 4.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1967, allocations: 0.728 MB / 497.6 MB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.06e-05/0.1968, allocations: 17.41 kB / 497.7 MB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.1968, allocations: 43.42 kB / 497.7 MB, free: 3.992 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1968, allocations: 0 / 497.7 MB, free: 3.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.211, allocations: 3.317 MB / 0.4893 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.2112, allocations: 230.7 kB / 0.4895 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.061, allocations: 0 / 0.4895 GB, free: 0.6445 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat