Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.001559/0.001563, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.08/2.08, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001148/0.001147, allocations: 98.56 kB / 267.5 MB, free: 14.11 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.2874/0.2874, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.542e-05, allocations: 4 kB / 425.4 MB, free: 23.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1207, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.6062, allocations: 84.9 MB / 0.5558 GB, free: 2.605 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.6064, allocations: 72.17 kB / 0.5559 GB, free: 2.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009318/0.6158, allocations: 2.615 MB / 0.5584 GB, free: 384 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6158, allocations: 0 / 0.5584 GB, free: 384 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.6159, allocations: 4 kB / 0.5584 GB, free: 380 kB / 362.7 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.0005676/0.6164, allocations: 414.5 kB / 0.5588 GB, free: 15.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.6165, allocations: 12.03 kB / 0.5588 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.906e-05/0.6166, allocations: 46.36 kB / 0.5589 GB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.6166, allocations: 15.81 kB / 0.5589 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.6169, allocations: 196 kB / 0.5591 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.6169, allocations: 8.203 kB / 0.5591 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.617, allocations: 19.69 kB / 0.5591 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.6174, allocations: 166.8 kB / 0.5593 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.6174, allocations: 7.906 kB / 0.5593 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.6174, allocations: 11.25 kB / 0.5593 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.6175, allocations: 4 kB / 0.5593 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.6177, allocations: 84.23 kB / 0.5594 GB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.6189, allocations: 0.6148 MB / 0.56 GB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.6193, allocations: 124.1 kB / 0.5601 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.6194, allocations: 52.47 kB / 0.5601 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.6194, allocations: 3.984 kB / 0.5601 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.6195, allocations: 38.69 kB / 0.5602 GB, free: 14.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.525e-06/0.6195, allocations: 0 / 0.5602 GB, free: 14.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005564/0.6201, allocations: 146.3 kB / 0.5603 GB, free: 14.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.6202, allocations: 89.05 kB / 0.5604 GB, free: 14.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.6203, allocations: 121 kB / 0.5605 GB, free: 14.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.6204, allocations: 29.58 kB / 0.5605 GB, free: 14.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.6205, allocations: 194.3 kB / 0.5607 GB, free: 14.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.6206, allocations: 62.81 kB / 0.5608 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-06/0.6206, allocations: 0 / 0.5608 GB, free: 13.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.6208, allocations: 314.7 kB / 0.5611 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.6209, allocations: 39.31 kB / 0.5611 GB, free: 13.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.6211, allocations: 106.5 kB / 0.5612 GB, free: 13.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.6213, allocations: 55.3 kB / 0.5613 GB, free: 13.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6213, allocations: 0 / 0.5613 GB, free: 13.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005958/0.6219, allocations: 217.7 kB / 0.5615 GB, free: 13.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.6219, allocations: 8 kB / 0.5615 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.622, allocations: 4 kB / 0.5615 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000305/0.6223, allocations: 53.25 kB / 0.5615 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.6225, allocations: 31.98 kB / 0.5616 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.6254, allocations: 2.72 MB / 0.5642 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.6256, allocations: 15.03 kB / 0.5642 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.6256, allocations: 8 kB / 0.5643 GB, free: 10.32 MB / 378.7 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 () * 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.0001199/0.6258, allocations: 116.5 kB / 0.5644 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.6258, allocations: 19.95 kB / 0.5644 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.6259, allocations: 17.94 kB / 0.5644 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6259, allocations: 0 / 0.5644 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6259, allocations: 144 / 0.5644 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.626, allocations: 7.984 kB / 0.5644 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.6264, allocations: 231.9 kB / 0.5646 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6264, allocations: 0 / 0.5646 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.6267, allocations: 27.98 kB / 0.5647 GB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.627, allocations: 52.47 kB / 0.5647 GB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.627, allocations: 7.625 kB / 0.5647 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/0.6298, allocations: 2.708 MB / 0.5674 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.6299, allocations: 3.938 kB / 0.5674 GB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.6306, allocations: 389.3 kB / 0.5677 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.6307, allocations: 92.91 kB / 0.5678 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.6307, allocations: 3.25 kB / 0.5678 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.6309, allocations: 0 / 0.5678 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.6309, allocations: 23.47 kB / 0.5679 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.631, allocations: 4 kB / 0.5679 GB, free: 6.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.184e-05/0.6311, allocations: 96.86 kB / 0.5679 GB, free: 6.402 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6311, allocations: 0 / 0.5679 GB, free: 6.402 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006058/0.6317, allocations: 55.66 kB / 0.568 GB, free: 6.352 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete 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.001103/0.6328, allocations: 0.9767 MB / 0.569 GB, free: 5.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007415/0.6336, allocations: 348.9 kB / 0.5693 GB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6336, allocations: 0 / 0.5693 GB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.6341, allocations: 278.6 kB / 0.5696 GB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.6345, allocations: 31.11 kB / 0.5696 GB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.6363, allocations: 0.6505 MB / 0.5702 GB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.6367, allocations: 0.7243 MB / 0.5709 GB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.6368, allocations: 48.05 kB / 0.571 GB, free: 3.316 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6368, allocations: 0 / 0.571 GB, free: 3.316 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.801/3.438, allocations: 3.731 MB / 0.5746 GB, free: 15.62 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat