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.001999/0.001999, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001771/0.001771, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.691/1.691, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.2525/0.2525, allocations: 46.93 MB / 360.8 MB, free: 4.305 MB / 286.1 MB " [Timeout remaining time 179] 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.002436/0.002436, allocations: 67.91 kB / 0.4966 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4119, allocations: 66.03 MB / 0.5611 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02441/0.4363, allocations: 19.88 MB / 0.5805 GB, free: 476 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.4503, allocations: 4.996 MB / 0.5854 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005707/0.456, allocations: 198.9 kB / 0.5856 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02049/0.4765, allocations: 7.852 MB / 0.5933 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008924/0.4854, allocations: 2.117 MB / 0.5953 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00467/0.4901, allocations: 1.425 MB / 0.5967 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02101/0.5111, allocations: 12.24 MB / 0.6087 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04409/0.5552, allocations: 16.87 MB / 0.6252 GB, free: 2.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01306/0.5683, allocations: 6.655 MB / 0.6317 GB, free: 11.81 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01417/0.5824, allocations: 7.296 MB / 0.6388 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005831/0.5883, allocations: 1.719 MB / 0.6405 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008505/0.5968, allocations: 1.918 MB / 0.6423 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007633/0.6044, allocations: 3.663 MB / 0.6459 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01448/0.6189, allocations: 7.007 MB / 0.6528 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03569/0.6546, allocations: 23.68 MB / 0.6759 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6546, allocations: 0 / 0.6759 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6546, allocations: 0 / 0.6759 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0009325/0.6555, allocations: 0 / 0.6759 GB, free: 14.39 MB / 0.5137 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.04381/0.6993, allocations: 14.75 MB / 0.6903 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.6994, allocations: 8.031 kB / 0.6903 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06216/0.7616, allocations: 11.17 MB / 0.7012 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01897/0.7805, allocations: 7.499 MB / 0.7085 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/0.7816, allocations: 0.8871 MB / 0.7094 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004834/0.7864, allocations: 1.172 MB / 0.7105 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04865/0.835, allocations: 18.61 MB / 0.7287 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003232/0.8354, allocations: 19.91 kB / 0.7287 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002054/0.8374, allocations: 496 kB / 0.7292 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006604/0.8381, allocations: 0.6538 MB / 0.7298 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5554/1.394, allocations: 19.14 MB / 0.7485 GB, free: 132.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.105/1.499, allocations: 59.53 MB / 0.8067 GB, free: 83.51 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01562/1.514, allocations: 10.7 MB / 0.8171 GB, free: 73.32 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005615/1.52, allocations: 4.22 MB / 0.8212 GB, free: 69.08 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005032/1.52, allocations: 239.9 kB / 0.8215 GB, free: 68.89 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.437e-05/1.52, allocations: 107.7 kB / 0.8216 GB, free: 68.78 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.223e-06/1.52, allocations: 0 / 0.8216 GB, free: 68.78 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01861/1.539, allocations: 12 MB / 0.8333 GB, free: 56.68 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/1.539, allocations: 124.5 kB / 0.8334 GB, free: 56.55 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01264/1.552, allocations: 8.615 MB / 0.8418 GB, free: 47.99 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001703/1.553, allocations: 133.7 kB / 0.8419 GB, free: 47.86 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003773/1.557, allocations: 4.607 MB / 0.8464 GB, free: 43.73 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002749/1.56, allocations: 2.297 MB / 0.8487 GB, free: 41.41 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002179/1.562, allocations: 1.466 MB / 0.8501 GB, free: 39.94 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 7.4e-05/1.562, allocations: 305.1 kB / 0.8504 GB, free: 39.64 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005203/1.567, allocations: 4.113 MB / 0.8544 GB, free: 35.52 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006412/1.574, allocations: 6.921 MB / 0.8612 GB, free: 27.33 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/1.586, allocations: 11.99 MB / 0.8729 GB, free: 13.98 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.325e-05/1.587, allocations: 28 kB / 0.8729 GB, free: 13.96 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02041/1.607, allocations: 12.09 MB / 0.8847 GB, free: 1.754 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/1.607, allocations: 48 kB / 0.8848 GB, free: 1.707 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001714/1.607, allocations: 92 kB / 0.8849 GB, free: 1.617 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00094/1.608, allocations: 412.8 kB / 0.8853 GB, free: 1.195 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007899/1.616, allocations: 2.012 MB / 0.8872 GB, free: 15.18 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00927/1.625, allocations: 8.973 MB / 0.896 GB, free: 5.52 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009449/1.635, allocations: 1.385 MB / 0.8973 GB, free: 4.125 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/1.637, allocations: 387.9 kB / 0.8977 GB, free: 3.746 MB / 0.5763 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.01046/1.647, allocations: 4.578 MB / 0.9022 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/1.649, allocations: 0.7335 MB / 0.9029 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0212/1.67, allocations: 10.6 MB / 0.9133 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.058e-05/1.67, allocations: 68 kB / 0.9133 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.67, allocations: 7.938 kB / 0.9133 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.52e-05/1.67, allocations: 35.86 kB / 0.9134 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4954/2.166, allocations: 152.6 MB / 1.062 GB, free: 185.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.018e-05/2.166, allocations: 88 kB / 1.062 GB, free: 185.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005104/2.171, allocations: 1.552 MB / 1.064 GB, free: 183.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007868/2.172, allocations: 388.1 kB / 1.064 GB, free: 183.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005066/2.172, allocations: 255.9 kB / 1.065 GB, free: 183.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004864/2.177, allocations: 8.849 MB / 1.073 GB, free: 173.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.782e-05/2.177, allocations: 131.4 kB / 1.073 GB, free: 173.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02041/2.198, allocations: 18.64 MB / 1.092 GB, free: 153.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006376/2.204, allocations: 2.071 MB / 1.094 GB, free: 151.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002144/2.206, allocations: 251.7 kB / 1.094 GB, free: 151.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006769/2.213, allocations: 0.5463 MB / 1.094 GB, free: 150.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001819/2.215, allocations: 0.765 MB / 1.095 GB, free: 150 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008607/2.216, allocations: 319.9 kB / 1.095 GB, free: 149.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.009488/2.225, allocations: 6.047 MB / 1.101 GB, free: 143.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.8e-07/2.225, allocations: 0 / 1.101 GB, free: 143.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009883/2.235, allocations: 2.651 MB / 1.104 GB, free: 141.1 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.00141/2.236, allocations: 494.1 kB / 1.104 GB, free: 140.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.014/2.25, allocations: 10.33 MB / 1.114 GB, free: 130.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.795e-05/2.25, allocations: 16 kB / 1.114 GB, free: 130.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007155/2.258, allocations: 5.29 MB / 1.12 GB, free: 124.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01101/2.269, allocations: 1.496 MB / 1.121 GB, free: 123.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0397/2.308, allocations: 24.99 MB / 1.146 GB, free: 97.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007579/2.316, allocations: 7.765 MB / 1.153 GB, free: 89.44 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007136/2.323, allocations: 3.566 MB / 1.157 GB, free: 85.86 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002027/2.325, allocations: 0.6399 MB / 1.157 GB, free: 85.22 MB / 0.67 GB Notification: Performance of SimCode: time 8.51e-07/2.325, allocations: 3.938 kB / 1.157 GB, free: 85.22 MB / 0.67 GB Notification: Performance of Templates: time 0.45/2.775, allocations: 101 MB / 1.256 GB, free: 221.1 MB / 0.6857 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: 12.253710265038535]