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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 216.7 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3169/0.3169, allocations: 44.93 MB / 358.8 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 67.89 kB / 0.4935 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3526, allocations: 65.47 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0214/0.374, allocations: 16.98 MB / 0.574 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.3863, allocations: 4.84 MB / 0.5788 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004962/0.3913, allocations: 194.9 kB / 0.5789 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02022/0.4115, allocations: 7.249 MB / 0.586 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008751/0.4202, allocations: 2.086 MB / 0.5881 GB, free: 8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005091/0.4253, allocations: 1.378 MB / 0.5894 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01739/0.4427, allocations: 12.24 MB / 0.6014 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03866/0.4814, allocations: 16.73 MB / 0.6177 GB, free: 9.402 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.4927, allocations: 6.659 MB / 0.6242 GB, free: 2.727 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01299/0.5057, allocations: 7.229 MB / 0.6313 GB, free: 11.47 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005026/0.5108, allocations: 1.719 MB / 0.6329 GB, free: 9.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006886/0.5176, allocations: 1.91 MB / 0.6348 GB, free: 7.844 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006313/0.5239, allocations: 3.662 MB / 0.6384 GB, free: 4.172 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01203/0.536, allocations: 5.482 MB / 0.6437 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03577/0.5717, allocations: 23.79 MB / 0.667 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.5718, allocations: 3.938 kB / 0.667 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5718, allocations: 0 / 0.667 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008256/0.5726, allocations: 0 / 0.667 GB, free: 6.801 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.05152/0.6241, allocations: 14.75 MB / 0.6814 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.6241, allocations: 8.031 kB / 0.6814 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06354/0.6877, allocations: 11.17 MB / 0.6923 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01979/0.7075, allocations: 7.495 MB / 0.6996 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001086/0.7086, allocations: 0.8988 MB / 0.7005 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005007/0.7136, allocations: 1.172 MB / 0.7016 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05264/0.7662, allocations: 19.14 MB / 0.7203 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005283/0.7667, allocations: 19.91 kB / 0.7203 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005316/0.772, allocations: 499.9 kB / 0.7208 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008402/0.7729, allocations: 0.6577 MB / 0.7215 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5846/1.357, allocations: 19.05 MB / 0.7401 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09285/1.45, allocations: 51.77 MB / 0.7906 GB, free: 101.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01764/1.468, allocations: 10.63 MB / 0.801 GB, free: 91.06 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006143/1.474, allocations: 4.212 MB / 0.8051 GB, free: 86.82 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004741/1.475, allocations: 184.9 kB / 0.8053 GB, free: 86.64 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.986e-05/1.475, allocations: 111.6 kB / 0.8054 GB, free: 86.52 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 9.488e-06/1.475, allocations: 7.938 kB / 0.8054 GB, free: 86.51 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01666/1.491, allocations: 11.74 MB / 0.8169 GB, free: 74.68 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/1.491, allocations: 116.5 kB / 0.817 GB, free: 74.55 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004728/1.496, allocations: 3.822 MB / 0.8207 GB, free: 70.81 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000898/1.497, allocations: 137.6 kB / 0.8208 GB, free: 70.67 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002031/1.499, allocations: 4.698 MB / 0.8254 GB, free: 66.53 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00189/1.501, allocations: 2.298 MB / 0.8277 GB, free: 64.25 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/1.503, allocations: 1.47 MB / 0.8291 GB, free: 62.78 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.391e-05/1.503, allocations: 301.1 kB / 0.8294 GB, free: 62.48 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005292/1.508, allocations: 4.117 MB / 0.8334 GB, free: 58.36 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006713/1.515, allocations: 6.917 MB / 0.8402 GB, free: 50.17 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01332/1.528, allocations: 11.98 MB / 0.8519 GB, free: 36.84 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001559/1.528, allocations: 24 kB / 0.8519 GB, free: 36.81 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01938/1.548, allocations: 11.85 MB / 0.8635 GB, free: 24.86 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.24e-05/1.548, allocations: 44 kB / 0.8635 GB, free: 24.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/1.548, allocations: 92 kB / 0.8636 GB, free: 24.73 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009038/1.549, allocations: 413.1 kB / 0.864 GB, free: 24.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006881/1.556, allocations: 2.008 MB / 0.866 GB, free: 22.29 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005272/1.561, allocations: 8.82 MB / 0.8746 GB, free: 12.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006201/1.567, allocations: 1.021 MB / 0.8756 GB, free: 11.83 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/1.568, allocations: 383.9 kB / 0.8759 GB, free: 11.46 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.006863/1.575, allocations: 4.582 MB / 0.8804 GB, free: 6.859 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009996/1.576, allocations: 488.9 kB / 0.8809 GB, free: 6.379 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02354/1.6, allocations: 10.33 MB / 0.891 GB, free: 11.95 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.386e-05/1.6, allocations: 68 kB / 0.891 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.367e-05/1.6, allocations: 0 / 0.891 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000125/1.6, allocations: 31.88 kB / 0.8911 GB, free: 11.85 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5532/2.153, allocations: 150.1 MB / 1.038 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003808/2.154, allocations: 88 kB / 1.038 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006055/2.16, allocations: 1.552 MB / 1.039 GB, free: 211.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/2.161, allocations: 384.9 kB / 1.04 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001453/2.162, allocations: 259.2 kB / 1.04 GB, free: 211.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005231/2.167, allocations: 8.683 MB / 1.048 GB, free: 202.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.506e-05/2.168, allocations: 139.4 kB / 1.048 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02381/2.191, allocations: 18.35 MB / 1.066 GB, free: 182.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004729/2.196, allocations: 1.558 MB / 1.068 GB, free: 181.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002046/2.198, allocations: 244.7 kB / 1.068 GB, free: 181.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005937/2.204, allocations: 0.5462 MB / 1.069 GB, free: 180.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002021/2.206, allocations: 0.7611 MB / 1.069 GB, free: 180 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00158/2.208, allocations: 327.5 kB / 1.07 GB, free: 179.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005342/2.213, allocations: 2.542 MB / 1.072 GB, free: 177.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.8e-07/2.213, allocations: 4 kB / 1.072 GB, free: 177.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01135/2.224, allocations: 2.946 MB / 1.075 GB, free: 174.6 MB / 0.67 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.002479/2.227, allocations: 0.4955 MB / 1.076 GB, free: 174.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01671/2.244, allocations: 10.32 MB / 1.086 GB, free: 163.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001463/2.244, allocations: 12 kB / 1.086 GB, free: 163.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00831/2.252, allocations: 5.289 MB / 1.091 GB, free: 158.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01109/2.263, allocations: 1.271 MB / 1.092 GB, free: 157.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04316/2.306, allocations: 24.22 MB / 1.116 GB, free: 131.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01147/2.318, allocations: 7.405 MB / 1.123 GB, free: 124.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008504/2.326, allocations: 3.199 MB / 1.126 GB, free: 121 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002112/2.328, allocations: 0.5227 MB / 1.127 GB, free: 120.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.252e-06/2.328, allocations: 0 / 1.127 GB, free: 120.5 MB / 0.67 GB Notification: Performance of Templates: time 0.1199/2.448, allocations: 88.16 MB / 1.213 GB, free: 33.19 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.58774283155799]