Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001005, allocations: 181.3 kB / 17.41 MB, free: 4.41 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.365/1.365, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0007807/0.0007806, allocations: 92.41 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3551/0.3551, allocations: 43.57 MB / 363.8 MB, free: 52.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 16 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3913/0.5265, allocations: 107.4 MB / 0.5848 GB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.5268, allocations: 83.95 kB / 0.5849 GB, free: 10.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241/1.768, allocations: 387 MB / 0.9629 GB, free: 49.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.146e-06/1.768, allocations: 0 / 0.9629 GB, free: 49.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001027/1.769, allocations: 253.4 kB / 0.9631 GB, free: 49.38 MB / 0.4948 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.04233/1.811, allocations: 10.9 MB / 0.9738 GB, free: 45.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/1.811, allocations: 7.25 kB / 0.9738 GB, free: 45.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04259/1.854, allocations: 8.432 MB / 0.982 GB, free: 44.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02095/1.875, allocations: 7.591 MB / 0.9894 GB, free: 40.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001491/1.876, allocations: 0.8649 MB / 0.9903 GB, free: 40.56 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006133/1.883, allocations: 1.117 MB / 0.9914 GB, free: 40.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06522/1.948, allocations: 21.26 MB / 1.012 GB, free: 29.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007635/1.949, allocations: 19.75 kB / 1.012 GB, free: 29.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006706/1.955, allocations: 498.9 kB / 1.013 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001187/1.957, allocations: 0.8472 MB / 1.013 GB, free: 28.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04396/2.001, allocations: 19.88 MB / 1.033 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5093/2.51, allocations: 60.13 MB / 1.092 GB, free: 46.31 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03695/2.547, allocations: 24.02 MB / 1.115 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02241/2.569, allocations: 10.24 MB / 1.125 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001894/2.571, allocations: 369.4 kB / 1.125 GB, free: 52.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/2.572, allocations: 138.6 kB / 1.126 GB, free: 52.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1196): time 3.396e-05/2.572, allocations: 0 / 1.126 GB, free: 52.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1196): time 0.07206/2.644, allocations: 28.29 MB / 1.153 GB, free: 45.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/2.644, allocations: 157.7 kB / 1.153 GB, free: 44.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007715/2.652, allocations: 3.119 MB / 1.156 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0031/2.655, allocations: 187.4 kB / 1.157 GB, free: 43.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003039/2.658, allocations: 3.465 MB / 1.16 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.006978/2.665, allocations: 3.894 MB / 1.164 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002953/2.668, allocations: 170.5 kB / 1.164 GB, free: 38.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001561/2.669, allocations: 0.7223 MB / 1.165 GB, free: 38.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01445/2.684, allocations: 7.093 MB / 1.172 GB, free: 35.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01649/2.7, allocations: 8.049 MB / 1.179 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03379/2.734, allocations: 16.08 MB / 1.195 GB, free: 25.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.79e-05/2.734, allocations: 3.75 kB / 1.195 GB, free: 25.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.05072/2.785, allocations: 18.88 MB / 1.214 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/2.785, allocations: 11.41 kB / 1.214 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.782e-05/2.785, allocations: 12.41 kB / 1.214 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007762/2.793, allocations: 3.777 MB / 1.217 GB, free: 16.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009889/2.803, allocations: 1.908 MB / 1.219 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/2.827, allocations: 21.58 MB / 1.24 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009186/2.837, allocations: 1.122 MB / 1.241 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004147/2.841, allocations: 339.9 kB / 1.242 GB, free: 8.508 MB / 0.5417 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.01903/2.86, allocations: 4.534 MB / 1.246 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004863/2.865, allocations: 0.5632 MB / 1.247 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07508/2.94, allocations: 21.73 MB / 1.268 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005958/2.94, allocations: 291.5 kB / 1.268 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.291e-05/2.941, allocations: 4 kB / 1.268 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003222/2.941, allocations: 50.39 kB / 1.268 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.423/3.364, allocations: 38.84 MB / 1.306 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.442e-05/3.364, allocations: 3.094 kB / 1.306 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009596/3.374, allocations: 1.767 MB / 1.308 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007251/3.381, allocations: 3.743 MB / 1.311 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00315/3.384, allocations: 255 kB / 1.312 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/3.405, allocations: 21.44 MB / 1.333 GB, free: 91.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/3.405, allocations: 0 / 1.333 GB, free: 91.74 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06113/3.466, allocations: 30.44 MB / 1.362 GB, free: 86.18 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/3.468, allocations: 0.8627 MB / 1.363 GB, free: 85.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003821/3.472, allocations: 169.8 kB / 1.363 GB, free: 85.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006992/3.479, allocations: 0.5893 MB / 1.364 GB, free: 85.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004044/3.483, allocations: 0.8471 MB / 1.365 GB, free: 85.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002652/3.486, allocations: 326.8 kB / 1.365 GB, free: 85.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004501/3.49, allocations: 2.183 MB / 1.367 GB, free: 84.46 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.41e-07/3.49, allocations: 0 / 1.367 GB, free: 84.46 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01277/3.503, allocations: 3.085 MB / 1.37 GB, free: 83.88 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.002953/3.506, allocations: 406.6 kB / 1.371 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0337/3.54, allocations: 17.8 MB / 1.388 GB, free: 76.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/3.54, allocations: 1.938 kB / 1.388 GB, free: 76.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02002/3.56, allocations: 9.812 MB / 1.398 GB, free: 73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01345/3.573, allocations: 1.139 MB / 1.399 GB, free: 72.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06853/3.642, allocations: 31.25 MB / 1.429 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01453/3.657, allocations: 7.838 MB / 1.437 GB, free: 43.37 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006059/3.663, allocations: 0.5449 MB / 1.437 GB, free: 42.86 MB / 0.5573 GB Notification: Performance of SimCode: time 9.91e-07/3.663, allocations: 0 / 1.437 GB, free: 42.86 MB / 0.5573 GB Notification: Performance of Templates: time 3.334/6.997, allocations: 1.216 GB / 2.654 GB, free: 93.45 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches