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.001429/0.001429, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001421/0.001421, allocations: 165 kB / 24.56 MB, free: 4 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.9893/0.9893, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.2749/0.2749, allocations: 34.26 MB / 295.7 MB, free: 0.7422 MB / 266.7 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.[0-9,]+..re|v.[0-9,]+..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.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.244e-05, allocations: 9.625 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0155/0.01553, allocations: 19.08 MB / 397.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.02574, allocations: 4.955 MB / 402.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003545/0.02928, allocations: 198.9 kB / 402.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009592/0.03888, allocations: 8.327 MB / 410.6 MB, free: 1.961 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006647/0.04552, allocations: 2.136 MB / 412.7 MB, free: 15.81 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003216/0.04874, allocations: 1.407 MB / 414.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01253/0.06127, allocations: 12.63 MB / 426.8 MB, free: 1.719 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02766/0.08893, allocations: 16.79 MB / 443.6 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1995/0.2885, allocations: 9.816 MB / 453.4 MB, free: 55.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01214/0.3006, allocations: 7.217 MB / 460.6 MB, free: 55.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006948/0.3076, allocations: 1.725 MB / 462.3 MB, free: 55.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008754/0.3163, allocations: 1.914 MB / 464.2 MB, free: 55.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008011/0.3243, allocations: 3.797 MB / 468 MB, free: 55.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01221/0.3365, allocations: 4.774 MB / 472.8 MB, free: 53.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02103/0.3576, allocations: 11.99 MB / 484.8 MB, free: 48.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3576, allocations: 0 / 484.8 MB, free: 48.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3576, allocations: 3.234 kB / 484.8 MB, free: 48.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008294/0.3584, allocations: 0 / 484.8 MB, free: 48.65 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.04035/0.3988, allocations: 15.83 MB / 0.4889 GB, free: 41.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.3988, allocations: 7.25 kB / 0.4889 GB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04317/0.442, allocations: 13.36 MB / 0.502 GB, free: 38.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01452/0.4565, allocations: 6.834 MB / 0.5086 GB, free: 34.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007966/0.4573, allocations: 0.8918 MB / 0.5095 GB, free: 33.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004997/0.4623, allocations: 1.18 MB / 0.5107 GB, free: 32.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03546/0.4978, allocations: 8.437 MB / 0.5189 GB, free: 24.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008161/0.4986, allocations: 11.91 kB / 0.5189 GB, free: 24.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006574/0.5052, allocations: 0.489 MB / 0.5194 GB, free: 23.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007127/0.5059, allocations: 0.6577 MB / 0.52 GB, free: 22.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02459/0.5305, allocations: 6.2 MB / 0.5261 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09652/0.627, allocations: 46.61 MB / 0.5716 GB, free: 2.191 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.6385, allocations: 7.372 MB / 0.5788 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003417/0.6419, allocations: 1.58 MB / 0.5803 GB, free: 9.746 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003928/0.6423, allocations: 220.9 kB / 0.5806 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.41e-05/0.6424, allocations: 106.5 kB / 0.5807 GB, free: 9.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=653): time 1.06e-05/0.6424, allocations: 3.984 kB / 0.5807 GB, free: 9.406 MB / 458.7 MB Notification: Performance of matching and sorting (n=653): time 0.009753/0.6521, allocations: 4.782 MB / 0.5853 GB, free: 4.539 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.6522, allocations: 116.5 kB / 0.5854 GB, free: 4.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005529/0.6577, allocations: 3.559 MB / 0.5889 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001111/0.6588, allocations: 137.7 kB / 0.589 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003187/0.662, allocations: 4.993 MB / 0.5939 GB, free: 11.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002895/0.6649, allocations: 2.379 MB / 0.5962 GB, free: 9.355 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002478/0.6674, allocations: 1.655 MB / 0.5979 GB, free: 7.691 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6675, allocations: 480.7 kB / 0.5983 GB, free: 7.219 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/0.6702, allocations: 1.045 MB / 0.5993 GB, free: 6.172 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2028/0.8729, allocations: 5.277 MB / 0.6045 GB, free: 99.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008489/0.8814, allocations: 7.112 MB / 0.6114 GB, free: 94.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/0.8815, allocations: 27.09 kB / 0.6115 GB, free: 94.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0112/0.8927, allocations: 6.038 MB / 0.6174 GB, free: 93.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.8928, allocations: 44.19 kB / 0.6174 GB, free: 93.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/0.8929, allocations: 89.5 kB / 0.6175 GB, free: 93.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009147/0.8939, allocations: 433 kB / 0.6179 GB, free: 93.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004337/0.8982, allocations: 2.01 MB / 0.6199 GB, free: 93.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/0.902, allocations: 10.88 MB / 0.6305 GB, free: 83.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005364/0.9074, allocations: 1.019 MB / 0.6315 GB, free: 83.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001278/0.9087, allocations: 383.2 kB / 0.6319 GB, free: 83.39 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.004643/0.9133, allocations: 0.6829 MB / 0.6325 GB, free: 83.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/0.9146, allocations: 0.6738 MB / 0.6332 GB, free: 83.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008199/0.9228, allocations: 5.867 MB / 0.6389 GB, free: 82.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/0.9229, allocations: 69.75 kB / 0.639 GB, free: 82.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/0.9229, allocations: 3.5 kB / 0.639 GB, free: 82.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-05/0.9229, allocations: 33.7 kB / 0.639 GB, free: 82.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06062/0.9836, allocations: 24.35 MB / 0.6628 GB, free: 76.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000153/0.9837, allocations: 83.5 kB / 0.6629 GB, free: 76.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003628/0.9873, allocations: 1.55 MB / 0.6644 GB, free: 76.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008948/0.9882, allocations: 399.9 kB / 0.6648 GB, free: 76.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008097/0.989, allocations: 259.2 kB / 0.665 GB, free: 76.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00378/0.9928, allocations: 10.79 MB / 0.6755 GB, free: 66.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.242e-05/0.9929, allocations: 132.5 kB / 0.6757 GB, free: 66.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.009, allocations: 10.61 MB / 0.686 GB, free: 58.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003264/1.012, allocations: 1.377 MB / 0.6874 GB, free: 58.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008176/1.013, allocations: 243.4 kB / 0.6876 GB, free: 58.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002766/1.016, allocations: 0.5415 MB / 0.6881 GB, free: 58.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008865/1.017, allocations: 0.7706 MB / 0.6889 GB, free: 58.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000529/1.017, allocations: 316.9 kB / 0.6892 GB, free: 57.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002541/1.02, allocations: 1.595 MB / 0.6908 GB, free: 56.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.02, allocations: 3.719 kB / 0.6908 GB, free: 56.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008283/1.028, allocations: 2.941 MB / 0.6936 GB, free: 54.21 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.0009977/1.029, allocations: 0.4896 MB / 0.6941 GB, free: 53.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008253/1.037, allocations: 5.629 MB / 0.6996 GB, free: 49.42 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.502e-05/1.037, allocations: 12 kB / 0.6996 GB, free: 49.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003897/1.041, allocations: 3.284 MB / 0.7028 GB, free: 46.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006226/1.048, allocations: 1.303 MB / 0.7041 GB, free: 45.62 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02974/1.077, allocations: 21.02 MB / 0.7246 GB, free: 24.85 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004893/1.082, allocations: 3.409 MB / 0.728 GB, free: 22.33 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006615/1.089, allocations: 2.64 MB / 0.7305 GB, free: 20.74 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/1.091, allocations: 0.5251 MB / 0.731 GB, free: 20.26 MB / 474.7 MB Notification: Performance of SimCode: time 2.184e-06/1.091, allocations: 0 / 0.731 GB, free: 20.26 MB / 474.7 MB Notification: Performance of Templates: time 0.2689/1.36, allocations: 76.49 MB / 0.8057 GB, free: 129.4 MB / 0.4948 GB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] 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","",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.451330344658345]