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.001502/0.001502, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 95.5 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2965/0.2965, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.971e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3988, allocations: 58.84 MB / 477.2 MB, free: 5.293 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.5643, allocations: 84.25 MB / 0.5483 GB, free: 15.04 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.5646, allocations: 75.94 kB / 0.5483 GB, free: 14.97 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01341/0.5781, allocations: 2.591 MB / 0.5509 GB, free: 12.38 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5781, allocations: 4 kB / 0.5509 GB, free: 12.38 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.5781, allocations: 4 kB / 0.5509 GB, free: 12.38 MB / 395.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.0006542/0.5788, allocations: 415 kB / 0.5513 GB, free: 11.92 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5789, allocations: 8.031 kB / 0.5513 GB, free: 11.91 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.5789, allocations: 15.81 kB / 0.5513 GB, free: 11.9 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.5792, allocations: 186.8 kB / 0.5515 GB, free: 11.68 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.5792, allocations: 4 kB / 0.5515 GB, free: 11.67 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.5793, allocations: 20 kB / 0.5515 GB, free: 11.65 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002576/0.5795, allocations: 76.64 kB / 0.5516 GB, free: 11.58 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.5799, allocations: 141.2 kB / 0.5517 GB, free: 11.43 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.58, allocations: 7.906 kB / 0.5517 GB, free: 11.42 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.58, allocations: 0 / 0.5517 GB, free: 11.42 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.58, allocations: 4 kB / 0.5517 GB, free: 11.42 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.5812, allocations: 0.5649 MB / 0.5523 GB, free: 10.8 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.5815, allocations: 117.1 kB / 0.5524 GB, free: 10.67 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.5816, allocations: 49.8 kB / 0.5524 GB, free: 10.62 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.5816, allocations: 0 / 0.5524 GB, free: 10.62 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.5817, allocations: 38.69 kB / 0.5525 GB, free: 10.57 MB / 395.1 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.5817, allocations: 0 / 0.5525 GB, free: 10.57 MB / 395.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005534/0.5822, allocations: 147.2 kB / 0.5526 GB, free: 10.41 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.5823, allocations: 77.11 kB / 0.5527 GB, free: 10.32 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.5825, allocations: 121.1 kB / 0.5528 GB, free: 10.19 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.5825, allocations: 25.7 kB / 0.5528 GB, free: 10.16 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.5826, allocations: 201.3 kB / 0.553 GB, free: 9.965 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.5827, allocations: 55.19 kB / 0.5531 GB, free: 9.91 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.5827, allocations: 96 / 0.5531 GB, free: 9.91 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5829, allocations: 322.8 kB / 0.5534 GB, free: 9.586 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.583, allocations: 32 kB / 0.5534 GB, free: 9.555 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.5832, allocations: 96.44 kB / 0.5535 GB, free: 9.43 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.5833, allocations: 51.92 kB / 0.5535 GB, free: 9.379 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5833, allocations: 0 / 0.5535 GB, free: 9.379 MB / 395.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005461/0.5839, allocations: 195.2 kB / 0.5537 GB, free: 9.176 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.5839, allocations: 4 kB / 0.5537 GB, free: 9.172 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.584, allocations: 7.938 kB / 0.5537 GB, free: 9.164 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/0.5843, allocations: 45.69 kB / 0.5538 GB, free: 9.113 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.5845, allocations: 35.98 kB / 0.5538 GB, free: 9.078 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.5873, allocations: 2.602 MB / 0.5564 GB, free: 6.242 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.5875, allocations: 15.88 kB / 0.5564 GB, free: 6.227 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.5876, allocations: 12 kB / 0.5564 GB, free: 6.215 MB / 395.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 () * 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.0001232/0.5877, allocations: 112.9 kB / 0.5565 GB, free: 6.098 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004285/0.5881, allocations: 139.3 kB / 0.5566 GB, free: 5.949 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.5882, allocations: 7.906 kB / 0.5566 GB, free: 5.941 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.5883, allocations: 20.61 kB / 0.5566 GB, free: 5.922 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5883, allocations: 4 kB / 0.5567 GB, free: 5.918 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5883, allocations: 0 / 0.5567 GB, free: 5.918 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.8e-06/0.5883, allocations: 0 / 0.5567 GB, free: 5.918 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.5887, allocations: 206 kB / 0.5569 GB, free: 5.68 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5887, allocations: 0 / 0.5569 GB, free: 5.68 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.5891, allocations: 23.98 kB / 0.5569 GB, free: 5.656 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002197/0.5893, allocations: 50.44 kB / 0.5569 GB, free: 5.602 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.5893, allocations: 0 / 0.5569 GB, free: 5.602 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002647/0.592, allocations: 2.614 MB / 0.5595 GB, free: 2.762 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.592, allocations: 0 / 0.5595 GB, free: 2.762 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.5926, allocations: 365.9 kB / 0.5598 GB, free: 2.375 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.5927, allocations: 89.05 kB / 0.5599 GB, free: 2.27 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.5928, allocations: 4 kB / 0.5599 GB, free: 2.266 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.593, allocations: 4 kB / 0.5599 GB, free: 2.262 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.593, allocations: 15.98 kB / 0.5599 GB, free: 2.246 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.593, allocations: 4 kB / 0.5599 GB, free: 2.242 MB / 395.1 MB Notification: Performance of sorting global known variables: time 8.367e-05/0.5931, allocations: 99.27 kB / 0.56 GB, free: 2.145 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5931, allocations: 0 / 0.56 GB, free: 2.145 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006638/0.5938, allocations: 47.97 kB / 0.5601 GB, free: 2.098 MB / 395.1 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.00103/0.5949, allocations: 0.9712 MB / 0.561 GB, free: 1.09 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0007428/0.5956, allocations: 319.7 kB / 0.5613 GB, free: 0.7578 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.5956, allocations: 0 / 0.5613 GB, free: 0.7578 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004414/0.5961, allocations: 267.5 kB / 0.5616 GB, free: 488 kB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.5966, allocations: 35.56 kB / 0.5616 GB, free: 456 kB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.5984, allocations: 0.6313 MB / 0.5622 GB, free: 15.76 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.5988, allocations: 0.7243 MB / 0.5629 GB, free: 15.01 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.5989, allocations: 43.42 kB / 0.563 GB, free: 14.97 MB / 411.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5989, allocations: 0 / 0.563 GB, free: 14.97 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.834/3.433, allocations: 3.717 MB / 0.5666 GB, free: 11.25 MB / 411.1 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