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.001342/0.001342, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001441/0.001441, allocations: 209 kB / 23.73 MB, free: 4.387 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.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2383/0.2383, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.00214/0.00214, allocations: 71.84 kB / 0.4966 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3852, allocations: 66.04 MB / 0.5611 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02177/0.407, allocations: 16.96 MB / 0.5777 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.4193, allocations: 4.848 MB / 0.5824 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004149/0.4235, allocations: 191 kB / 0.5826 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01901/0.4425, allocations: 7.256 MB / 0.5897 GB, free: 6.773 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008483/0.451, allocations: 2.09 MB / 0.5917 GB, free: 4.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004615/0.4556, allocations: 1.37 MB / 0.593 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01631/0.4719, allocations: 12.24 MB / 0.605 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03156/0.5035, allocations: 16.73 MB / 0.6213 GB, free: 6.082 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009769/0.5132, allocations: 6.659 MB / 0.6278 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01207/0.5253, allocations: 7.229 MB / 0.6349 GB, free: 8.152 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004569/0.5299, allocations: 1.719 MB / 0.6366 GB, free: 6.434 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008043/0.5379, allocations: 1.906 MB / 0.6384 GB, free: 4.527 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006963/0.5449, allocations: 3.663 MB / 0.642 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01268/0.5576, allocations: 5.486 MB / 0.6474 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03521/0.5928, allocations: 23.79 MB / 0.6706 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5928, allocations: 0 / 0.6706 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5928, allocations: 0 / 0.6706 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000725/0.5935, allocations: 0 / 0.6706 GB, free: 3.48 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.0475/0.641, allocations: 14.74 MB / 0.685 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.641, allocations: 8.031 kB / 0.685 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06196/0.703, allocations: 11.17 MB / 0.6959 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02053/0.7235, allocations: 7.502 MB / 0.7032 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009925/0.7245, allocations: 0.891 MB / 0.7041 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005906/0.7304, allocations: 1.172 MB / 0.7053 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0523/0.7827, allocations: 19.14 MB / 0.724 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004752/0.7832, allocations: 23.89 kB / 0.724 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004756/0.788, allocations: 499.9 kB / 0.7245 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008276/0.7888, allocations: 0.6539 MB / 0.7251 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6315/1.42, allocations: 19.05 MB / 0.7437 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0986/1.519, allocations: 51.77 MB / 0.7943 GB, free: 95.14 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01728/1.536, allocations: 10.63 MB / 0.8046 GB, free: 85.02 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006159/1.542, allocations: 4.216 MB / 0.8088 GB, free: 80.78 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004642/1.543, allocations: 184.9 kB / 0.8089 GB, free: 80.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.019e-05/1.543, allocations: 107.6 kB / 0.809 GB, free: 80.48 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 9.778e-06/1.543, allocations: 4 kB / 0.809 GB, free: 80.48 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01622/1.559, allocations: 11.74 MB / 0.8205 GB, free: 68.64 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/1.559, allocations: 116.5 kB / 0.8206 GB, free: 68.51 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005455/1.565, allocations: 3.828 MB / 0.8244 GB, free: 64.77 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000923/1.566, allocations: 129.7 kB / 0.8245 GB, free: 64.63 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002041/1.568, allocations: 4.7 MB / 0.8291 GB, free: 60.49 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002233/1.57, allocations: 2.297 MB / 0.8313 GB, free: 58.23 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001848/1.572, allocations: 1.47 MB / 0.8327 GB, free: 56.75 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/1.572, allocations: 305.1 kB / 0.833 GB, free: 56.45 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005152/1.577, allocations: 4.113 MB / 0.8371 GB, free: 52.33 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006514/1.583, allocations: 6.917 MB / 0.8438 GB, free: 44.14 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/1.596, allocations: 11.98 MB / 0.8555 GB, free: 30.81 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/1.596, allocations: 28 kB / 0.8555 GB, free: 30.79 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01847/1.615, allocations: 11.84 MB / 0.8671 GB, free: 18.84 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/1.615, allocations: 44 kB / 0.8671 GB, free: 18.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001803/1.615, allocations: 88 kB / 0.8672 GB, free: 18.71 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000996/1.616, allocations: 416.9 kB / 0.8676 GB, free: 18.28 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006953/1.623, allocations: 2.016 MB / 0.8696 GB, free: 16.26 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005494/1.629, allocations: 8.804 MB / 0.8782 GB, free: 6.844 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006915/1.636, allocations: 1.025 MB / 0.8792 GB, free: 5.812 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001987/1.637, allocations: 387.9 kB / 0.8796 GB, free: 5.434 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.01011/1.648, allocations: 4.578 MB / 0.884 GB, free: 0.8398 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002053/1.65, allocations: 488.9 kB / 0.8845 GB, free: 368 kB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02392/1.674, allocations: 10.33 MB / 0.8946 GB, free: 5.926 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.632e-05/1.674, allocations: 68 kB / 0.8946 GB, free: 5.859 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.3e-05/1.674, allocations: 4 kB / 0.8946 GB, free: 5.855 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001541/1.674, allocations: 31.88 kB / 0.8947 GB, free: 5.824 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5251/2.199, allocations: 150.1 MB / 1.041 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004387/2.199, allocations: 84 kB / 1.041 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00623/2.206, allocations: 1.558 MB / 1.043 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/2.207, allocations: 376.4 kB / 1.043 GB, free: 203.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001697/2.208, allocations: 263.7 kB / 1.044 GB, free: 203.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/2.214, allocations: 8.691 MB / 1.052 GB, free: 194.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.719e-05/2.214, allocations: 139.3 kB / 1.052 GB, free: 194 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02603/2.24, allocations: 18.35 MB / 1.07 GB, free: 173.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005292/2.245, allocations: 1.56 MB / 1.072 GB, free: 172.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002117/2.247, allocations: 247.7 kB / 1.072 GB, free: 172.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005685/2.253, allocations: 0.5463 MB / 1.072 GB, free: 171.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001839/2.255, allocations: 0.7663 MB / 1.073 GB, free: 171.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001271/2.256, allocations: 319.9 kB / 1.073 GB, free: 170.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004314/2.26, allocations: 2.538 MB / 1.076 GB, free: 168.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/2.26, allocations: 3.281 kB / 1.076 GB, free: 168.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01101/2.271, allocations: 2.953 MB / 1.079 GB, free: 165.7 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.002345/2.274, allocations: 493.8 kB / 1.079 GB, free: 165.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01746/2.291, allocations: 10.33 MB / 1.089 GB, free: 154.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001474/2.291, allocations: 16 kB / 1.089 GB, free: 154.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009814/2.301, allocations: 5.282 MB / 1.094 GB, free: 149.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01284/2.314, allocations: 1.272 MB / 1.096 GB, free: 148.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04753/2.361, allocations: 24.22 MB / 1.119 GB, free: 122.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01705/2.379, allocations: 7.413 MB / 1.127 GB, free: 115.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.01093/2.389, allocations: 3.195 MB / 1.13 GB, free: 112.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004161/2.394, allocations: 0.5227 MB / 1.13 GB, free: 111.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.002e-06/2.394, allocations: 4 kB / 1.13 GB, free: 111.7 MB / 0.67 GB Notification: Performance of Templates: time 0.1265/2.52, allocations: 88.14 MB / 1.216 GB, free: 24.37 MB / 0.67 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/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: 10.467751935124397]