Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.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.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",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.001787/0.001787, allocations: 184.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001192/0.001192, allocations: 98.8 kB / 270.2 MB, free: 13.36 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.2418/0.2418, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.000398, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1368, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.573, allocations: 107.3 MB / 0.5836 GB, free: 8.562 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003975/0.5735, allocations: 85.39 kB / 0.5837 GB, free: 8.516 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.38/1.953, allocations: 388.2 MB / 0.9628 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.809e-06/1.953, allocations: 0 / 0.9628 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001481/1.955, allocations: 254.6 kB / 0.963 GB, free: 68.52 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.04925/2.004, allocations: 11.01 MB / 0.9738 GB, free: 65.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.814e-05/2.004, allocations: 10.72 kB / 0.9738 GB, free: 65.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01358/2.018, allocations: 1.747 MB / 0.9755 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04492/2.063, allocations: 8.434 MB / 0.9838 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02604/2.089, allocations: 7.485 MB / 0.9911 GB, free: 63.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001627/2.09, allocations: 0.8669 MB / 0.9919 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006749/2.097, allocations: 1.125 MB / 0.993 GB, free: 63.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0639/2.161, allocations: 21.17 MB / 1.014 GB, free: 58.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009039/2.162, allocations: 15.44 kB / 1.014 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007331/2.169, allocations: 0.4906 MB / 1.014 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001293/2.171, allocations: 0.8442 MB / 1.015 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04709/2.218, allocations: 19.88 MB / 1.034 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1677/2.386, allocations: 60.06 MB / 1.093 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4108/2.797, allocations: 24.02 MB / 1.117 GB, free: 66.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001997/2.799, allocations: 363.2 kB / 1.117 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/2.799, allocations: 143.2 kB / 1.117 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1196): time 2.707e-05/2.799, allocations: 2.125 kB / 1.117 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1196): time 0.07324/2.872, allocations: 37.5 MB / 1.154 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/2.872, allocations: 158.5 kB / 1.154 GB, free: 53.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006312/2.879, allocations: 2.811 MB / 1.157 GB, free: 53.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002768/2.881, allocations: 186.9 kB / 1.157 GB, free: 53.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003073/2.885, allocations: 3.469 MB / 1.16 GB, free: 52.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.006986/2.892, allocations: 3.898 MB / 1.164 GB, free: 50.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00292/2.895, allocations: 171.6 kB / 1.164 GB, free: 50.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001355/2.896, allocations: 0.7172 MB / 1.165 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01337/2.909, allocations: 7.099 MB / 1.172 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01606/2.925, allocations: 8.011 MB / 1.18 GB, free: 49.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01687/2.942, allocations: 8.359 MB / 1.188 GB, free: 48.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.426e-05/2.942, allocations: 3.688 kB / 1.188 GB, free: 48.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.04328/2.986, allocations: 18.88 MB / 1.206 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/2.986, allocations: 10.42 kB / 1.206 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.11e-05/2.986, allocations: 13.25 kB / 1.206 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006525/2.992, allocations: 3.772 MB / 1.21 GB, free: 39.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009306/3.002, allocations: 1.908 MB / 1.212 GB, free: 39.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/3.02, allocations: 21.65 MB / 1.233 GB, free: 23.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008062/3.028, allocations: 1.125 MB / 1.234 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003355/3.031, allocations: 341.9 kB / 1.234 GB, free: 22.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (933): * Single equations (assignments): 818 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.01431/3.046, allocations: 4.528 MB / 1.239 GB, free: 20.65 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004386/3.05, allocations: 0.5663 MB / 1.239 GB, free: 20.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05492/3.105, allocations: 20.45 MB / 1.259 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005397/3.106, allocations: 286.6 kB / 1.259 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001028/3.106, allocations: 3.844 kB / 1.259 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003484/3.106, allocations: 51.14 kB / 1.26 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1068/3.213, allocations: 38.76 MB / 1.297 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001519/3.213, allocations: 0 / 1.297 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009899/3.223, allocations: 1.771 MB / 1.299 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00829/3.231, allocations: 3.737 MB / 1.303 GB, free: 9.168 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003144/3.235, allocations: 255.1 kB / 1.303 GB, free: 8.949 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3825/3.617, allocations: 21.53 MB / 1.324 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/3.617, allocations: 0 / 1.324 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05457/3.672, allocations: 30.44 MB / 1.354 GB, free: 99.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00253/3.674, allocations: 0.8636 MB / 1.355 GB, free: 99.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003034/3.677, allocations: 169.3 kB / 1.355 GB, free: 99.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006611/3.684, allocations: 0.5877 MB / 1.355 GB, free: 99.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003445/3.688, allocations: 0.8439 MB / 1.356 GB, free: 99.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002291/3.69, allocations: 324.6 kB / 1.356 GB, free: 99.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004729/3.695, allocations: 2.186 MB / 1.359 GB, free: 99.59 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/3.695, allocations: 0 / 1.359 GB, free: 99.59 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01473/3.709, allocations: 3.087 MB / 1.362 GB, free: 99.29 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.plug_p.reference.gamma) * 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 (921): * Single equations (assignments): 806 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.06785/3.777, allocations: 31.32 MB / 1.392 GB, free: 92.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03614/3.813, allocations: 17.81 MB / 1.41 GB, free: 86.03 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/3.814, allocations: 0 / 1.41 GB, free: 86.03 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02092/3.834, allocations: 9.811 MB / 1.419 GB, free: 82.13 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0105/3.845, allocations: 0.9889 MB / 1.42 GB, free: 81.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1849/4.03, allocations: 88.48 MB / 1.507 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.431/4.461, allocations: 8.544 MB / 1.515 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01885/4.48, allocations: 2.605 MB / 1.517 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01319/4.493, allocations: 4.13 MB / 1.521 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.55e-05/4.493, allocations: 0 / 1.521 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7836/5.277, allocations: 232 MB / 1.748 GB, free: 92.11 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/5.277, allocations: 244.4 kB / 1.748 GB, free: 91.87 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/13.38, allocations: 7.5 kB / 1.748 GB, free: 91.86 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat