Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 111.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 186.3 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2111/0.2111, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3947, allocations: 60.81 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02023/0.415, allocations: 19.74 MB / 0.5388 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.4279, allocations: 4.912 MB / 0.5436 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006285/0.4342, allocations: 165.2 kB / 0.5438 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01841/0.4527, allocations: 7.764 MB / 0.5514 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.4628, allocations: 2.206 MB / 0.5535 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004638/0.4674, allocations: 1.26 MB / 0.5548 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01669/0.4841, allocations: 12.15 MB / 0.5666 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04303/0.5272, allocations: 26.07 MB / 0.5921 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01236/0.5396, allocations: 6.522 MB / 0.5984 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01747/0.5571, allocations: 7.218 MB / 0.6055 GB, free: 3.695 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007247/0.5644, allocations: 1.719 MB / 0.6072 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009935/0.5744, allocations: 1.918 MB / 0.609 GB, free: 64 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008481/0.5829, allocations: 3.643 MB / 0.6126 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01804/0.601, allocations: 7.011 MB / 0.6195 GB, free: 5.371 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03057/0.6316, allocations: 23.61 MB / 0.6425 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.6317, allocations: 0 / 0.6425 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.886e-06/0.6317, allocations: 0 / 0.6425 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007667/0.6325, allocations: 0 / 0.6425 GB, free: 13.69 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.04771/0.6802, allocations: 14.56 MB / 0.6567 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.6803, allocations: 8.031 kB / 0.6567 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06131/0.7416, allocations: 11.44 MB / 0.6679 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/0.7578, allocations: 7.318 MB / 0.6751 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008827/0.7587, allocations: 0.8949 MB / 0.6759 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004924/0.7636, allocations: 1.164 MB / 0.6771 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04991/0.8135, allocations: 18.57 MB / 0.6952 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006803/0.8143, allocations: 19.89 kB / 0.6952 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005358/0.8196, allocations: 492 kB / 0.6957 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008625/0.8205, allocations: 0.6539 MB / 0.6963 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04356/0.8641, allocations: 19.08 MB / 0.715 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6725/1.537, allocations: 59.97 MB / 0.7735 GB, free: 117.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01991/1.557, allocations: 16.61 MB / 0.7897 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006842/1.564, allocations: 4.532 MB / 0.7942 GB, free: 98.06 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006921/1.564, allocations: 233.6 kB / 0.7944 GB, free: 97.84 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/1.564, allocations: 107.6 kB / 0.7945 GB, free: 97.72 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.236e-05/1.564, allocations: 0 / 0.7945 GB, free: 97.72 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.02022/1.585, allocations: 12.35 MB / 0.8065 GB, free: 85.16 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/1.585, allocations: 116.5 kB / 0.8067 GB, free: 85.04 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/1.6, allocations: 8.607 MB / 0.8151 GB, free: 76.44 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001256/1.601, allocations: 129.7 kB / 0.8152 GB, free: 76.31 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003557/1.605, allocations: 4.497 MB / 0.8196 GB, free: 71.8 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002499/1.607, allocations: 2.186 MB / 0.8217 GB, free: 69.59 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004425/1.612, allocations: 1.435 MB / 0.8231 GB, free: 68.15 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.387e-05/1.612, allocations: 301.1 kB / 0.8234 GB, free: 67.85 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006289/1.618, allocations: 4.102 MB / 0.8274 GB, free: 63.75 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00757/1.626, allocations: 6.913 MB / 0.8342 GB, free: 55.57 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/1.639, allocations: 11.93 MB / 0.8458 GB, free: 42.29 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/1.639, allocations: 28 kB / 0.8458 GB, free: 42.26 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01941/1.659, allocations: 12.01 MB / 0.8576 GB, free: 30.14 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.659, allocations: 44 kB / 0.8576 GB, free: 30.09 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001681/1.659, allocations: 91.94 kB / 0.8577 GB, free: 30 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009997/1.66, allocations: 413.2 kB / 0.8581 GB, free: 29.58 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006845/1.667, allocations: 2.001 MB / 0.86 GB, free: 27.58 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00577/1.673, allocations: 9.58 MB / 0.8694 GB, free: 17.15 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007707/1.68, allocations: 1.35 MB / 0.8707 GB, free: 15.79 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001594/1.682, allocations: 372 kB / 0.8711 GB, free: 15.43 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009853/1.692, allocations: 4.582 MB / 0.8755 GB, free: 10.83 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002129/1.694, allocations: 0.706 MB / 0.8762 GB, free: 10.11 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01903/1.713, allocations: 10.59 MB / 0.8866 GB, free: 15.42 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-05/1.713, allocations: 68 kB / 0.8866 GB, free: 15.35 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-05/1.713, allocations: 4 kB / 0.8866 GB, free: 15.35 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001225/1.713, allocations: 43.73 kB / 0.8867 GB, free: 15.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5324/2.246, allocations: 156.5 MB / 1.04 GB, free: 166.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000193/2.246, allocations: 88 kB / 1.04 GB, free: 166.9 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005693/2.252, allocations: 1.54 MB / 1.041 GB, free: 165.3 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009284/2.253, allocations: 383.3 kB / 1.041 GB, free: 164.9 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001147/2.254, allocations: 244 kB / 1.042 GB, free: 164.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00572/2.26, allocations: 9.469 MB / 1.051 GB, free: 154.5 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.94e-05/2.26, allocations: 131.4 kB / 1.051 GB, free: 154.4 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02343/2.283, allocations: 18.53 MB / 1.069 GB, free: 134.2 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005099/2.288, allocations: 2.011 MB / 1.071 GB, free: 132.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002634/2.291, allocations: 251.9 kB / 1.071 GB, free: 132 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006298/2.297, allocations: 0.558 MB / 1.072 GB, free: 131.4 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001639/2.299, allocations: 0.7301 MB / 1.073 GB, free: 130.7 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001047/2.3, allocations: 308 kB / 1.073 GB, free: 130.4 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.01047/2.31, allocations: 6.047 MB / 1.079 GB, free: 124.4 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.21e-07/2.31, allocations: 1.969 kB / 1.079 GB, free: 124.4 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01179/2.322, allocations: 2.617 MB / 1.081 GB, free: 121.7 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * 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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002254/2.325, allocations: 0.4886 MB / 1.082 GB, free: 121.2 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01659/2.341, allocations: 10.59 MB / 1.092 GB, free: 110.6 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 8.823e-05/2.341, allocations: 12 kB / 1.092 GB, free: 110.6 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.007888/2.349, allocations: 5.441 MB / 1.098 GB, free: 105.1 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01353/2.363, allocations: 1.492 MB / 1.099 GB, free: 103.6 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04226/2.405, allocations: 24.24 MB / 1.123 GB, free: 78.15 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008024/2.413, allocations: 7.529 MB / 1.13 GB, free: 70.59 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002973/2.416, allocations: 0.6322 MB / 1.131 GB, free: 69.95 MB / 0.6388 GB Notification: Performance of SimCode: time 1.092e-06/2.416, allocations: 0 / 1.131 GB, free: 69.95 MB / 0.6388 GB Notification: Performance of Templates: time 1.19/3.606, allocations: 0.537 GB / 1.668 GB, free: 44.73 MB / 0.67 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches