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.001372/0.001372, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009045/0.0009046, allocations: 101.8 kB / 286.7 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2521/0.2521, allocations: 45.15 MB / 383.8 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.79e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1522, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.6302, allocations: 100.6 MB / 0.6027 GB, free: 1.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.6305, allocations: 79.89 kB / 0.6028 GB, free: 1.895 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08679/0.7173, allocations: 37.05 MB / 0.639 GB, free: 4.137 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7174, allocations: 0 / 0.639 GB, free: 4.137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.171e-05/0.7175, allocations: 20 kB / 0.639 GB, free: 4.117 MB / 426.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.004749/0.7222, allocations: 1.331 MB / 0.6403 GB, free: 2.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.091e-05/0.7223, allocations: 8.031 kB / 0.6403 GB, free: 2.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006559/0.7289, allocations: 0.9582 MB / 0.6413 GB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.7304, allocations: 0.5713 MB / 0.6418 GB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.626e-05/0.7305, allocations: 44 kB / 0.6419 GB, free: 1.484 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003431/0.7308, allocations: 79.19 kB / 0.6419 GB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002939/0.7338, allocations: 1.314 MB / 0.6432 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.7363, allocations: 0.9345 MB / 0.6441 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.532e-05/0.7363, allocations: 7.906 kB / 0.6441 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.7364, allocations: 0 / 0.6441 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.7365, allocations: 35.98 kB / 0.6442 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009777/0.7463, allocations: 5.587 MB / 0.6496 GB, free: 9.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.7481, allocations: 0.8579 MB / 0.6505 GB, free: 8.934 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.7486, allocations: 311.8 kB / 0.6508 GB, free: 8.629 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.7488, allocations: 194.9 kB / 0.6509 GB, free: 8.402 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.7489, allocations: 39.34 kB / 0.651 GB, free: 8.352 MB / 442.7 MB Notification: Performance of pre-optimization done (n=90): time 3.306e-06/0.7489, allocations: 3.938 kB / 0.651 GB, free: 8.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=90): time 0.002928/0.7518, allocations: 0.9343 MB / 0.6519 GB, free: 7.402 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.7519, allocations: 68.12 kB / 0.652 GB, free: 7.324 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006024/0.7525, allocations: 433 kB / 0.6524 GB, free: 6.895 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/0.7526, allocations: 25.7 kB / 0.6524 GB, free: 6.863 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.753, allocations: 0.5329 MB / 0.6529 GB, free: 6.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.7533, allocations: 295.6 kB / 0.6532 GB, free: 6.027 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.7533, allocations: 0 / 0.6532 GB, free: 6.027 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.7535, allocations: 362.8 kB / 0.6535 GB, free: 5.664 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/0.7541, allocations: 298.6 kB / 0.6538 GB, free: 5.371 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007464/0.7549, allocations: 0.5503 MB / 0.6544 GB, free: 4.715 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00293/0.7578, allocations: 0.8257 MB / 0.6552 GB, free: 3.887 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/0.7579, allocations: 4 kB / 0.6552 GB, free: 3.883 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00407/0.7619, allocations: 1.447 MB / 0.6566 GB, free: 2.422 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.762, allocations: 11.95 kB / 0.6566 GB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.762, allocations: 8 kB / 0.6566 GB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.7624, allocations: 69.62 kB / 0.6567 GB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.7634, allocations: 259.6 kB / 0.6569 GB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.7656, allocations: 2.528 MB / 0.6594 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009949/0.7666, allocations: 98.95 kB / 0.6595 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.7667, allocations: 52 kB / 0.6595 GB, free: 15.16 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.0002347/0.767, allocations: 124.7 kB / 0.6597 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002802/0.7698, allocations: 0.9382 MB / 0.6606 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.77, allocations: 63.25 kB / 0.6606 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.7728, allocations: 1.193 MB / 0.6618 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.7729, allocations: 11.95 kB / 0.6618 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.7729, allocations: 0 / 0.6618 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.7729, allocations: 7.969 kB / 0.6618 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/0.7782, allocations: 3.084 MB / 0.6648 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.7782, allocations: 4 kB / 0.6648 GB, free: 9.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007679/0.779, allocations: 187.7 kB / 0.665 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/0.7792, allocations: 62.23 kB / 0.6651 GB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.7793, allocations: 12 kB / 0.6651 GB, free: 9.113 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.7813, allocations: 2.52 MB / 0.6675 GB, free: 6.363 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.7813, allocations: 7.938 kB / 0.6676 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/0.7847, allocations: 1.83 MB / 0.6693 GB, free: 4.277 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.7851, allocations: 176 kB / 0.6695 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.7853, allocations: 19.94 kB / 0.6695 GB, free: 4.066 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.786, allocations: 47.97 kB / 0.6696 GB, free: 4.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.7862, allocations: 72.38 kB / 0.6696 GB, free: 3.949 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/0.7862, allocations: 36 kB / 0.6697 GB, free: 3.914 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004479/0.7867, allocations: 331 kB / 0.67 GB, free: 3.594 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7867, allocations: 7.875 kB / 0.67 GB, free: 3.586 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001298/0.788, allocations: 310.8 kB / 0.6703 GB, free: 3.281 MB / 458.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.004994/0.793, allocations: 4.15 MB / 0.6743 GB, free: 14.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.7949, allocations: 0.9621 MB / 0.6753 GB, free: 13.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.7949, allocations: 2.125 kB / 0.6753 GB, free: 13.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008312/0.7957, allocations: 0.573 MB / 0.6758 GB, free: 13.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/0.7964, allocations: 62.02 kB / 0.6759 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.8008, allocations: 1.45 MB / 0.6773 GB, free: 11.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009443/0.8018, allocations: 1.031 MB / 0.6783 GB, free: 10.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007168/0.8025, allocations: 125.9 kB / 0.6784 GB, free: 10.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.8031, allocations: 375.2 kB / 0.6788 GB, free: 10.18 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/0.8031, allocations: 0 / 0.6788 GB, free: 10.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03916/0.8423, allocations: 13.95 MB / 0.6924 GB, free: 12.27 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.8426, allocations: 170.7 kB / 0.6926 GB, free: 12.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.25, allocations: 0 / 0.6926 GB, free: 12.07 MB / 490.7 MB (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