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.001541/0.001541, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001051/0.001051, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9575/0.9575, allocations: 177.1 MB / 205 MB, free: 5.23 MB / 186.7 MB " [Timeout remaining time 179] 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.2551/0.2551, allocations: 32.8 MB / 294.3 MB, free: 1.23 MB / 266.7 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.[0-9,]+..re|v.[0-9,]+..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.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 3.938 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.631e-05, allocations: 5.547 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01361/0.01363, allocations: 19.09 MB / 395.1 MB, free: 1.488 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008071/0.0217, allocations: 4.955 MB / 400.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.02376, allocations: 194.9 kB / 400.2 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008513/0.03228, allocations: 8.327 MB / 408.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00459/0.03687, allocations: 2.144 MB / 410.7 MB, free: 1.809 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.03912, allocations: 1.391 MB / 412.1 MB, free: 424 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009097/0.04822, allocations: 12.63 MB / 424.7 MB, free: 3.734 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01702/0.06523, allocations: 16.8 MB / 441.5 MB, free: 2.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.165/0.2302, allocations: 9.818 MB / 451.4 MB, free: 57.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006773/0.237, allocations: 7.253 MB / 458.6 MB, free: 57.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002135/0.2391, allocations: 1.722 MB / 460.3 MB, free: 57.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.2417, allocations: 1.918 MB / 462.2 MB, free: 57.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001797/0.2435, allocations: 3.795 MB / 466 MB, free: 57.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003603/0.2471, allocations: 4.771 MB / 470.8 MB, free: 56.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008966/0.2561, allocations: 12 MB / 482.8 MB, free: 51.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2561, allocations: 0 / 482.8 MB, free: 51.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2561, allocations: 1.281 kB / 482.8 MB, free: 51.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002766/0.2563, allocations: 1.188 kB / 482.8 MB, free: 51.98 MB / 410.7 MB 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.02027/0.2766, allocations: 15.83 MB / 498.6 MB, free: 44.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2766, allocations: 7.781 kB / 498.6 MB, free: 44.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03035/0.307, allocations: 13.37 MB / 0.5 GB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.3184, allocations: 6.826 MB / 0.5067 GB, free: 37.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005012/0.3189, allocations: 0.8899 MB / 0.5076 GB, free: 36.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002941/0.3218, allocations: 1.187 MB / 0.5087 GB, free: 35.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01574/0.3376, allocations: 8.424 MB / 0.5169 GB, free: 28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/0.3378, allocations: 23.89 kB / 0.517 GB, free: 27.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008495/0.3386, allocations: 499 kB / 0.5174 GB, free: 27.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004842/0.3391, allocations: 0.6577 MB / 0.5181 GB, free: 26.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/0.3509, allocations: 6.2 MB / 0.5241 GB, free: 20.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05337/0.4043, allocations: 46.61 MB / 0.5697 GB, free: 6.102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008617/0.4129, allocations: 7.373 MB / 0.5769 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002594/0.4155, allocations: 1.576 MB / 0.5784 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.4158, allocations: 227 kB / 0.5786 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.19e-05/0.4159, allocations: 106.5 kB / 0.5787 GB, free: 13.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=653): time 8.466e-06/0.4159, allocations: 3.75 kB / 0.5787 GB, free: 13.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=653): time 0.007898/0.4238, allocations: 4.778 MB / 0.5834 GB, free: 8.449 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.4239, allocations: 116.5 kB / 0.5835 GB, free: 8.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004263/0.4281, allocations: 3.563 MB / 0.587 GB, free: 4.746 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003006/0.4284, allocations: 133.7 kB / 0.5871 GB, free: 4.609 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002661/0.4311, allocations: 4.982 MB / 0.592 GB, free: 15.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001621/0.4327, allocations: 2.384 MB / 0.5943 GB, free: 13.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002121/0.4349, allocations: 1.655 MB / 0.5959 GB, free: 11.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.435, allocations: 480.2 kB / 0.5964 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002715/0.4377, allocations: 1.045 MB / 0.5974 GB, free: 10.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005046/0.4427, allocations: 5.277 MB / 0.6025 GB, free: 3.094 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1834/0.6261, allocations: 7.114 MB / 0.6095 GB, free: 98.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.656e-05/0.6262, allocations: 28.41 kB / 0.6095 GB, free: 98.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.009865/0.636, allocations: 6.041 MB / 0.6154 GB, free: 98.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.488e-05/0.6361, allocations: 44.09 kB / 0.6155 GB, free: 98.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/0.6363, allocations: 93.47 kB / 0.6155 GB, free: 98.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.6374, allocations: 421.5 kB / 0.6159 GB, free: 98.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00434/0.6417, allocations: 2.017 MB / 0.6179 GB, free: 98.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/0.6449, allocations: 10.88 MB / 0.6285 GB, free: 87.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004392/0.6493, allocations: 1.02 MB / 0.6295 GB, free: 87.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009658/0.6503, allocations: 384.8 kB / 0.6299 GB, free: 87.77 MB / 474.7 MB 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.003549/0.6538, allocations: 0.6848 MB / 0.6306 GB, free: 87.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.6549, allocations: 0.6745 MB / 0.6312 GB, free: 87.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006707/0.6616, allocations: 5.863 MB / 0.637 GB, free: 87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.6617, allocations: 73.94 kB / 0.637 GB, free: 86.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.6617, allocations: 3 kB / 0.637 GB, free: 86.99 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.331e-05/0.6617, allocations: 37.52 kB / 0.6371 GB, free: 86.99 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05329/0.715, allocations: 24.33 MB / 0.6608 GB, free: 81.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001377/0.7151, allocations: 92.84 kB / 0.6609 GB, free: 81.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004757/0.7199, allocations: 1.555 MB / 0.6624 GB, free: 81.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/0.721, allocations: 395.7 kB / 0.6628 GB, free: 81.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009953/0.722, allocations: 256.3 kB / 0.6631 GB, free: 81.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004462/0.7264, allocations: 10.8 MB / 0.6736 GB, free: 70.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-05/0.7265, allocations: 135.8 kB / 0.6737 GB, free: 70.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/0.7423, allocations: 10.61 MB / 0.6841 GB, free: 62.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004139/0.7464, allocations: 1.377 MB / 0.6854 GB, free: 62.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001557/0.748, allocations: 246.2 kB / 0.6857 GB, free: 62.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004684/0.7527, allocations: 0.5445 MB / 0.6862 GB, free: 62.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001743/0.7544, allocations: 0.7704 MB / 0.687 GB, free: 62.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008243/0.7552, allocations: 321.3 kB / 0.6873 GB, free: 62.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002953/0.7582, allocations: 1.588 MB / 0.6888 GB, free: 61.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7582, allocations: 0 / 0.6888 GB, free: 61.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01228/0.7705, allocations: 2.943 MB / 0.6917 GB, free: 58.48 MB / 474.7 MB 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.002427/0.7729, allocations: 0.4973 MB / 0.6922 GB, free: 58.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01102/0.7839, allocations: 5.628 MB / 0.6977 GB, free: 54.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.155e-05/0.784, allocations: 16 kB / 0.6977 GB, free: 54.13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005602/0.7896, allocations: 3.279 MB / 0.7009 GB, free: 51.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007466/0.7971, allocations: 1.301 MB / 0.7022 GB, free: 50.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0333/0.8304, allocations: 21.02 MB / 0.7227 GB, free: 29.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004372/0.8347, allocations: 3.409 MB / 0.726 GB, free: 27.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005261/0.84, allocations: 2.648 MB / 0.7286 GB, free: 25.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/0.8416, allocations: 0.5193 MB / 0.7291 GB, free: 25.13 MB / 474.7 MB Notification: Performance of SimCode: time 1.964e-06/0.8416, allocations: 0 / 0.7291 GB, free: 25.13 MB / 474.7 MB Notification: Performance of Templates: time 0.2685/1.11, allocations: 80.4 MB / 0.8076 GB, free: 128.5 MB / 0.4948 GB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.027514663059264]