Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008901/0.0008902, allocations: 93.03 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.191/0.191, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.609e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 63.24 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4355/0.5543, allocations: 101.3 MB / 0.6104 GB, free: 8.656 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.5545, allocations: 82.45 kB / 0.6105 GB, free: 8.613 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08111/0.6356, allocations: 37.5 MB / 0.6471 GB, free: 9.664 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.6357, allocations: 0 / 0.6471 GB, free: 9.664 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.965e-05/0.6357, allocations: 20 kB / 0.6471 GB, free: 9.645 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003073/0.6388, allocations: 1.341 MB / 0.6484 GB, free: 8.383 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6388, allocations: 11.97 kB / 0.6484 GB, free: 8.371 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/0.6391, allocations: 198.6 kB / 0.6486 GB, free: 8.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005963/0.645, allocations: 0.9537 MB / 0.6495 GB, free: 7.391 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/0.6459, allocations: 0.5612 MB / 0.6501 GB, free: 6.922 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/0.646, allocations: 102.8 kB / 0.6502 GB, free: 6.863 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.6462, allocations: 127.4 kB / 0.6503 GB, free: 6.781 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.6482, allocations: 1.19 MB / 0.6515 GB, free: 6.008 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.062e-05/0.6483, allocations: 11.84 kB / 0.6515 GB, free: 5.996 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.6484, allocations: 54.31 kB / 0.6515 GB, free: 5.984 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.6484, allocations: 32 kB / 0.6516 GB, free: 5.953 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.6504, allocations: 1.39 MB / 0.6529 GB, free: 5.016 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007896/0.6584, allocations: 5.891 MB / 0.6587 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.66, allocations: 0.8986 MB / 0.6596 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.6605, allocations: 340.7 kB / 0.6599 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.6607, allocations: 183 kB / 0.6601 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.6607, allocations: 43.33 kB / 0.6601 GB, free: 13.37 MB / 458.7 MB Notification: Performance of pre-optimization done (n=90): time 3.757e-06/0.6607, allocations: 0 / 0.6601 GB, free: 13.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=90): time 0.001247/0.662, allocations: 0.7195 MB / 0.6608 GB, free: 12.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.662, allocations: 60.19 kB / 0.6609 GB, free: 12.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000825/0.6628, allocations: 0.7303 MB / 0.6616 GB, free: 11.83 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.6629, allocations: 41.7 kB / 0.6616 GB, free: 11.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.6632, allocations: 0.4946 MB / 0.6621 GB, free: 11.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.6634, allocations: 303.6 kB / 0.6624 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.6635, allocations: 24 kB / 0.6624 GB, free: 10.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6636, allocations: 402.8 kB / 0.6628 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.6641, allocations: 318.6 kB / 0.6631 GB, free: 10.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.6648, allocations: 0.576 MB / 0.6637 GB, free: 9.547 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006342/0.6654, allocations: 412.8 kB / 0.664 GB, free: 9.145 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.6654, allocations: 4 kB / 0.6641 GB, free: 9.141 MB / 458.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001757/0.6672, allocations: 1.131 MB / 0.6652 GB, free: 7.996 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.6672, allocations: 8.781 kB / 0.6652 GB, free: 7.988 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6673, allocations: 12.06 kB / 0.6652 GB, free: 7.977 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.6675, allocations: 65.67 kB / 0.6652 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009758/0.6685, allocations: 263.6 kB / 0.6655 GB, free: 7.648 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.6703, allocations: 2.619 MB / 0.668 GB, free: 4.758 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/0.6712, allocations: 154.2 kB / 0.6682 GB, free: 4.605 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.6713, allocations: 51.98 kB / 0.6682 GB, free: 4.555 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.6715, allocations: 178.4 kB / 0.6684 GB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.6716, allocations: 90.88 kB / 0.6685 GB, free: 4.285 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.6733, allocations: 1.055 MB / 0.6695 GB, free: 3.195 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.6734, allocations: 12 kB / 0.6695 GB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6734, allocations: 0 / 0.6695 GB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.6734, allocations: 11.92 kB / 0.6696 GB, free: 3.172 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.6771, allocations: 3.092 MB / 0.6726 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.056e-06/0.6771, allocations: 8 kB / 0.6726 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/0.6779, allocations: 179.7 kB / 0.6728 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.6781, allocations: 61.69 kB / 0.6728 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.6782, allocations: 27.98 kB / 0.6728 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.68, allocations: 2.623 MB / 0.6754 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.68, allocations: 15.88 kB / 0.6754 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.6822, allocations: 1.696 MB / 0.6771 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.6825, allocations: 223.5 kB / 0.6773 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.6826, allocations: 27.98 kB / 0.6773 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/0.6833, allocations: 63.97 kB / 0.6774 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.6834, allocations: 72.38 kB / 0.6774 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.6835, allocations: 36 kB / 0.6775 GB, free: 10.19 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007023/0.6842, allocations: 0.5617 MB / 0.678 GB, free: 9.637 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6842, allocations: 0 / 0.678 GB, free: 9.637 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009572/0.6851, allocations: 331.4 kB / 0.6783 GB, free: 9.312 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentRMSSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 91 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002897/0.688, allocations: 4.043 MB / 0.6823 GB, free: 5.066 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.6898, allocations: 1.038 MB / 0.6833 GB, free: 4.008 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6898, allocations: 0 / 0.6833 GB, free: 4.008 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008511/0.6906, allocations: 0.6067 MB / 0.6839 GB, free: 3.375 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.6912, allocations: 107.6 kB / 0.684 GB, free: 3.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.6946, allocations: 1.566 MB / 0.6855 GB, free: 1.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.6952, allocations: 1.031 MB / 0.6865 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006746/0.6959, allocations: 159.7 kB / 0.6867 GB, free: 380 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/0.6965, allocations: 379.3 kB / 0.687 GB, free: 0 / 474.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6965, allocations: 0 / 0.687 GB, free: 0 / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.7292, allocations: 18.23 MB / 0.7048 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.7294, allocations: 195.1 kB / 0.705 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.089, allocations: 0 / 0.705 GB, free: 13.79 MB / 0.4948 GB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat