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.001868/0.001868, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002393/0.002393, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2193/0.2193, allocations: 44.94 MB / 359.6 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] 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.002661/0.002661, allocations: 71.89 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3195, allocations: 65.48 MB / 0.5582 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02159/0.3411, allocations: 16.98 MB / 0.5748 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.3525, allocations: 4.848 MB / 0.5795 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003356/0.3558, allocations: 194.9 kB / 0.5797 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01758/0.3734, allocations: 7.248 MB / 0.5868 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007528/0.3809, allocations: 2.082 MB / 0.5888 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.3848, allocations: 1.376 MB / 0.5901 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01482/0.3996, allocations: 12.24 MB / 0.6021 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02896/0.4285, allocations: 16.73 MB / 0.6184 GB, free: 9.426 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01025/0.4388, allocations: 6.663 MB / 0.6249 GB, free: 2.746 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01227/0.451, allocations: 7.225 MB / 0.632 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004459/0.4555, allocations: 1.719 MB / 0.6337 GB, free: 9.773 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005668/0.4612, allocations: 1.91 MB / 0.6355 GB, free: 7.867 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00495/0.4661, allocations: 3.659 MB / 0.6391 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0106/0.4767, allocations: 5.486 MB / 0.6445 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02903/0.5058, allocations: 23.79 MB / 0.6677 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5058, allocations: 0 / 0.6677 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5058, allocations: 0 / 0.6677 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005895/0.5064, allocations: 3.938 kB / 0.6677 GB, free: 6.824 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.04262/0.549, allocations: 14.75 MB / 0.6821 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.549, allocations: 8.031 kB / 0.6821 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05999/0.609, allocations: 11.17 MB / 0.693 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01809/0.6271, allocations: 7.491 MB / 0.7003 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001224/0.6283, allocations: 0.8949 MB / 0.7012 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005489/0.6338, allocations: 1.172 MB / 0.7024 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04898/0.6828, allocations: 19.14 MB / 0.7211 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000523/0.6833, allocations: 19.91 kB / 0.7211 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004933/0.6882, allocations: 0.4921 MB / 0.7216 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008746/0.6891, allocations: 0.6576 MB / 0.7222 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3136/1.003, allocations: 19.05 MB / 0.7408 GB, free: 141 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08602/1.089, allocations: 51.77 MB / 0.7914 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0176/1.106, allocations: 10.63 MB / 0.8017 GB, free: 93.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006556/1.113, allocations: 4.223 MB / 0.8059 GB, free: 89.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006924/1.114, allocations: 180.9 kB / 0.806 GB, free: 89.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.692e-05/1.114, allocations: 115.6 kB / 0.8061 GB, free: 89.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=653): time 1.366e-05/1.114, allocations: 0 / 0.8061 GB, free: 89.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=653): time 0.01936/1.133, allocations: 11.74 MB / 0.8176 GB, free: 77.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/1.133, allocations: 128.5 kB / 0.8177 GB, free: 77.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005476/1.139, allocations: 3.828 MB / 0.8215 GB, free: 73.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009761/1.14, allocations: 129.7 kB / 0.8216 GB, free: 73.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002006/1.142, allocations: 4.694 MB / 0.8262 GB, free: 68.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002023/1.144, allocations: 2.292 MB / 0.8284 GB, free: 66.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002999/1.147, allocations: 1.47 MB / 0.8299 GB, free: 64.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.973e-05/1.147, allocations: 301.1 kB / 0.8301 GB, free: 64.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005603/1.152, allocations: 4.117 MB / 0.8342 GB, free: 60.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007252/1.16, allocations: 6.917 MB / 0.8409 GB, free: 52.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01366/1.173, allocations: 11.99 MB / 0.8526 GB, free: 38.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/1.173, allocations: 24 kB / 0.8526 GB, free: 38.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02118/1.194, allocations: 11.84 MB / 0.8642 GB, free: 26.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/1.195, allocations: 44.84 kB / 0.8642 GB, free: 26.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001923/1.195, allocations: 92 kB / 0.8643 GB, free: 26.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/1.196, allocations: 412.8 kB / 0.8647 GB, free: 26.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007533/1.203, allocations: 2.016 MB / 0.8667 GB, free: 24.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/1.209, allocations: 8.815 MB / 0.8753 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006089/1.215, allocations: 1.022 MB / 0.8763 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/1.217, allocations: 387.9 kB / 0.8767 GB, free: 13.32 MB / 0.5606 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.008218/1.225, allocations: 4.582 MB / 0.8811 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/1.226, allocations: 484.9 kB / 0.8816 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/1.244, allocations: 10.33 MB / 0.8917 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.3e-05/1.245, allocations: 68 kB / 0.8918 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-05/1.245, allocations: 4 kB / 0.8918 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001516/1.245, allocations: 31.88 kB / 0.8918 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4836/1.728, allocations: 150.1 MB / 1.038 GB, free: 187.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003929/1.729, allocations: 88 kB / 1.038 GB, free: 187.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005729/1.734, allocations: 1.555 MB / 1.04 GB, free: 185.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009621/1.735, allocations: 388.6 kB / 1.04 GB, free: 185.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001284/1.737, allocations: 263.7 kB / 1.041 GB, free: 185.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00484/1.741, allocations: 8.682 MB / 1.049 GB, free: 176 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-05/1.742, allocations: 139.4 kB / 1.049 GB, free: 175.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02201/1.764, allocations: 18.35 MB / 1.067 GB, free: 155.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004268/1.768, allocations: 1.558 MB / 1.069 GB, free: 154.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001773/1.77, allocations: 241.8 kB / 1.069 GB, free: 154.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005225/1.775, allocations: 0.5463 MB / 1.069 GB, free: 153.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001364/1.776, allocations: 0.7657 MB / 1.07 GB, free: 153 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006123/1.777, allocations: 315.9 kB / 1.071 GB, free: 152.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003209/1.78, allocations: 2.546 MB / 1.073 GB, free: 150.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/1.78, allocations: 0 / 1.073 GB, free: 150.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008902/1.789, allocations: 2.951 MB / 1.076 GB, free: 147.3 MB / 0.6544 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.001526/1.79, allocations: 0.4897 MB / 1.076 GB, free: 146.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01624/1.807, allocations: 10.32 MB / 1.086 GB, free: 136.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 0.0001162/1.807, allocations: 12 kB / 1.086 GB, free: 136.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007652/1.814, allocations: 5.291 MB / 1.092 GB, free: 131 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009738/1.824, allocations: 1.263 MB / 1.093 GB, free: 129.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03968/1.864, allocations: 23.88 MB / 1.116 GB, free: 104.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01028/1.874, allocations: 7.149 MB / 1.123 GB, free: 97.47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003027/1.877, allocations: 0.5891 MB / 1.124 GB, free: 96.88 MB / 0.6544 GB Notification: Performance of SimCode: time 1.733e-06/1.877, allocations: 4 kB / 1.124 GB, free: 96.88 MB / 0.6544 GB Notification: Performance of Templates: time 1.194/3.071, allocations: 0.5295 GB / 1.653 GB, free: 94.11 MB / 0.6856 GB " [Timeout remaining time 657] 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.725189602933824]