Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001351/0.001351, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001421/0.001421, allocations: 215.5 kB / 24.48 MB, free: 3.957 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.547/1.547, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 46.98 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.91 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3677, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02031/0.388, allocations: 16.98 MB / 0.5784 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.4003, allocations: 4.844 MB / 0.5831 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004728/0.405, allocations: 191 kB / 0.5833 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01866/0.4237, allocations: 7.252 MB / 0.5904 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009139/0.4328, allocations: 2.094 MB / 0.5924 GB, free: 4.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.4376, allocations: 1.387 MB / 0.5938 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01676/0.4544, allocations: 12.23 MB / 0.6057 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03218/0.4866, allocations: 16.87 MB / 0.6222 GB, free: 5.934 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01452/0.5011, allocations: 6.655 MB / 0.6287 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01457/0.5157, allocations: 7.288 MB / 0.6358 GB, free: 7.949 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006316/0.522, allocations: 1.723 MB / 0.6375 GB, free: 6.227 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008306/0.5303, allocations: 1.918 MB / 0.6394 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007891/0.5382, allocations: 3.655 MB / 0.643 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01562/0.5538, allocations: 5.494 MB / 0.6483 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03459/0.5884, allocations: 23.79 MB / 0.6716 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.5884, allocations: 0 / 0.6716 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5884, allocations: 4 kB / 0.6716 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007699/0.5892, allocations: 0 / 0.6716 GB, free: 3.266 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.04913/0.6383, allocations: 14.74 MB / 0.686 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.6383, allocations: 12.03 kB / 0.686 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05995/0.6983, allocations: 11.17 MB / 0.6969 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02103/0.7193, allocations: 7.495 MB / 0.7042 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/0.7204, allocations: 0.8949 MB / 0.7051 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005944/0.7264, allocations: 1.168 MB / 0.7062 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05327/0.7797, allocations: 19.14 MB / 0.7249 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005466/0.7802, allocations: 31.88 kB / 0.7249 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004413/0.7846, allocations: 499.9 kB / 0.7254 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008356/0.7854, allocations: 0.6499 MB / 0.726 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6096/1.395, allocations: 19.05 MB / 0.7446 GB, free: 135.3 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09757/1.493, allocations: 51.77 MB / 0.7952 GB, free: 94.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01602/1.509, allocations: 10.64 MB / 0.8056 GB, free: 84.57 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00545/1.514, allocations: 4.212 MB / 0.8097 GB, free: 80.33 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004569/1.515, allocations: 184.9 kB / 0.8099 GB, free: 80.15 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.865e-05/1.515, allocations: 107.6 kB / 0.81 GB, free: 80.03 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 9.628e-06/1.515, allocations: 0 / 0.81 GB, free: 80.03 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01556/1.53, allocations: 11.74 MB / 0.8215 GB, free: 68.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/1.53, allocations: 120.5 kB / 0.8216 GB, free: 68.06 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004538/1.535, allocations: 3.824 MB / 0.8253 GB, free: 64.32 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001035/1.536, allocations: 133.7 kB / 0.8254 GB, free: 64.18 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002085/1.538, allocations: 4.7 MB / 0.83 GB, free: 60.04 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002055/1.54, allocations: 2.294 MB / 0.8323 GB, free: 57.78 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002022/1.542, allocations: 1.466 MB / 0.8337 GB, free: 56.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.353e-05/1.542, allocations: 301.1 kB / 0.834 GB, free: 56.01 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004972/1.547, allocations: 4.117 MB / 0.838 GB, free: 51.89 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006493/1.553, allocations: 6.921 MB / 0.8448 GB, free: 43.7 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/1.567, allocations: 11.98 MB / 0.8565 GB, free: 30.36 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/1.567, allocations: 27.94 kB / 0.8565 GB, free: 30.33 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0195/1.586, allocations: 11.83 MB / 0.868 GB, free: 18.39 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/1.586, allocations: 48.12 kB / 0.8681 GB, free: 18.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001679/1.586, allocations: 92 kB / 0.8682 GB, free: 18.25 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/1.588, allocations: 408.8 kB / 0.8686 GB, free: 17.84 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007572/1.595, allocations: 2.02 MB / 0.8705 GB, free: 15.81 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00539/1.6, allocations: 8.808 MB / 0.8791 GB, free: 6.391 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006393/1.607, allocations: 1.021 MB / 0.8801 GB, free: 5.363 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001723/1.609, allocations: 379.9 kB / 0.8805 GB, free: 4.992 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.008476/1.617, allocations: 4.586 MB / 0.885 GB, free: 400 kB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/1.619, allocations: 484.9 kB / 0.8854 GB, free: 15.91 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01968/1.639, allocations: 10.33 MB / 0.8955 GB, free: 5.48 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.158e-05/1.639, allocations: 64 kB / 0.8956 GB, free: 5.418 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.639, allocations: 4 kB / 0.8956 GB, free: 5.414 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001013/1.639, allocations: 39.8 kB / 0.8956 GB, free: 5.375 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5194/2.158, allocations: 150.1 MB / 1.042 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003532/2.159, allocations: 84 kB / 1.042 GB, free: 204.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006013/2.165, allocations: 1.561 MB / 1.044 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008795/2.166, allocations: 384.8 kB / 1.044 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001185/2.167, allocations: 259.7 kB / 1.044 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004787/2.171, allocations: 8.687 MB / 1.053 GB, free: 193.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.387e-05/2.172, allocations: 139.3 kB / 1.053 GB, free: 193.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0203/2.192, allocations: 18.36 MB / 1.071 GB, free: 173.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004949/2.197, allocations: 1.554 MB / 1.073 GB, free: 172.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001774/2.199, allocations: 251.7 kB / 1.073 GB, free: 172 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005292/2.204, allocations: 0.5463 MB / 1.073 GB, free: 171.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001575/2.205, allocations: 0.7611 MB / 1.074 GB, free: 170.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008108/2.206, allocations: 319.9 kB / 1.074 GB, free: 170.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003834/2.21, allocations: 2.542 MB / 1.077 GB, free: 167.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/2.21, allocations: 0 / 1.077 GB, free: 167.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01106/2.221, allocations: 2.952 MB / 1.08 GB, free: 165.3 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.002161/2.223, allocations: 0.493 MB / 1.08 GB, free: 164.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01496/2.238, allocations: 10.32 MB / 1.09 GB, free: 154.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001288/2.238, allocations: 18 kB / 1.09 GB, free: 154.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007589/2.246, allocations: 5.278 MB / 1.095 GB, free: 149.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01/2.256, allocations: 1.269 MB / 1.097 GB, free: 147.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03923/2.295, allocations: 23.87 MB / 1.12 GB, free: 122.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008765/2.304, allocations: 7.157 MB / 1.127 GB, free: 115.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002744/2.307, allocations: 0.5852 MB / 1.128 GB, free: 115 MB / 0.67 GB Notification: Performance of SimCode: time 2.996e-06/2.307, allocations: 0 / 1.128 GB, free: 115 MB / 0.67 GB Notification: Performance of Templates: time 1.105/3.412, allocations: 0.5295 GB / 1.657 GB, free: 127.3 MB / 0.7013 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.98585545300739]