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.0009526/0.0009526, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.00245, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009998/0.0009998, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.002318, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.109/1.109, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1096/1.219, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.3379/0.3379, allocations: 32.79 MB / 276.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03564/0.3735, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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 3.637e-06/3.637e-06, allocations: 3.938 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.937e-05/4.301e-05, allocations: 5.188 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0176/0.01764, allocations: 18.57 MB / 309.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01658/0.03422, allocations: 5.28 MB / 314.5 MB, free: 360 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00698/0.0412, allocations: 191 kB / 314.6 MB, free: 168 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01356/0.05476, allocations: 8.271 MB / 322.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01263/0.06739, allocations: 2.128 MB / 325 MB, free: 5.711 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005791/0.07318, allocations: 1.396 MB / 326.4 MB, free: 4.316 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01447/0.08765, allocations: 12.71 MB / 339.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03365/0.1213, allocations: 16.77 MB / 355.9 MB, free: 6.531 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02667/0.148, allocations: 10.14 MB / 366.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01635/0.1643, allocations: 7.31 MB / 373.4 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00842/0.1727, allocations: 1.719 MB / 375.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/0.1834, allocations: 1.933 MB / 377 MB, free: 1.391 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00769/0.1911, allocations: 2.966 MB / 380 MB, free: 14.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01484/0.206, allocations: 3.927 MB / 383.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01719/0.2232, allocations: 11.36 MB / 395.3 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-05/0.2232, allocations: 0 / 395.3 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2232, allocations: 0 / 395.3 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006709/0.2238, allocations: 0 / 395.3 MB, free: 15.09 MB / 394.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.03024/0.2541, allocations: 16.53 MB / 411.8 MB, free: 14.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2541, allocations: 12.62 kB / 411.8 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03634/0.2905, allocations: 10.04 MB / 421.8 MB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.301, allocations: 3.661 MB / 425.5 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008233/0.3018, allocations: 0.8872 MB / 426.4 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003818/0.3056, allocations: 1.172 MB / 427.6 MB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.3269, allocations: 8.983 MB / 436.5 MB, free: 5.395 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002746/0.3272, allocations: 19.88 kB / 436.6 MB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001503/0.3287, allocations: 496 kB / 437 MB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004472/0.3291, allocations: 0.6539 MB / 437.7 MB, free: 4.234 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/0.3402, allocations: 4.153 MB / 441.9 MB, free: 52 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2511/0.5913, allocations: 34.22 MB / 476.1 MB, free: 77.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00685/0.5981, allocations: 5.451 MB / 481.5 MB, free: 75.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.5999, allocations: 1.146 MB / 482.7 MB, free: 75.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/0.6002, allocations: 230.4 kB / 482.9 MB, free: 75.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.234e-05/0.6003, allocations: 104 kB / 483 MB, free: 75.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=653): time 1.023e-05/0.6003, allocations: 0 / 483 MB, free: 75.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=653): time 0.005259/0.6056, allocations: 3.006 MB / 486 MB, free: 74.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.6057, allocations: 120.5 kB / 486.1 MB, free: 74.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.6082, allocations: 2.334 MB / 488.5 MB, free: 72.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003126/0.6085, allocations: 133.7 kB / 488.6 MB, free: 72.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.6099, allocations: 4.313 MB / 492.9 MB, free: 69.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/0.611, allocations: 2.275 MB / 495.2 MB, free: 67.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/0.6124, allocations: 1.3 MB / 496.5 MB, free: 66.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.6124, allocations: 308.8 kB / 496.8 MB, free: 65.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.6135, allocations: 0.6973 MB / 497.5 MB, free: 65.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/0.6156, allocations: 3.523 MB / 0.4893 GB, free: 60.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004322/0.6199, allocations: 5.21 MB / 0.4943 GB, free: 55.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.346e-05/0.6199, allocations: 28 kB / 0.4944 GB, free: 55.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.005425/0.6253, allocations: 4.273 MB / 0.4985 GB, free: 51.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.6254, allocations: 48.25 kB / 0.4986 GB, free: 51.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.275e-05/0.6255, allocations: 95.98 kB / 0.4987 GB, free: 51.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006906/0.6261, allocations: 360.5 kB / 0.499 GB, free: 50.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004008/0.6302, allocations: 2.033 MB / 0.501 GB, free: 48.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.633, allocations: 7.272 MB / 0.5081 GB, free: 41.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003437/0.6364, allocations: 0.7329 MB / 0.5088 GB, free: 40.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004933/0.6369, allocations: 307.9 kB / 0.5091 GB, free: 40.14 MB / 426.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.002816/0.6398, allocations: 0.6402 MB / 0.5097 GB, free: 39.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007655/0.6405, allocations: 491.6 kB / 0.5102 GB, free: 39.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.6449, allocations: 4.245 MB / 0.5144 GB, free: 35.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.6449, allocations: 72 kB / 0.5144 GB, free: 35.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.6449, allocations: 0 / 0.5144 GB, free: 35.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.991e-05/0.645, allocations: 31.88 kB / 0.5145 GB, free: 35.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04268/0.6877, allocations: 20 MB / 0.534 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002438/0.6879, allocations: 88 kB / 0.5341 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006039/0.6939, allocations: 1.519 MB / 0.5355 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004282/0.6982, allocations: 0.8843 MB / 0.5364 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.6994, allocations: 351.3 kB / 0.5367 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00102/0.7004, allocations: 243.9 kB / 0.537 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004146/0.7045, allocations: 7.249 MB / 0.5441 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.789e-05/0.7046, allocations: 135 kB / 0.5442 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/0.7185, allocations: 8.806 MB / 0.5528 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00218/0.7207, allocations: 247.9 kB / 0.553 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003922/0.7246, allocations: 272 kB / 0.5533 GB, free: 9.289 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/0.7256, allocations: 0.7504 MB / 0.554 GB, free: 8.609 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004859/0.7261, allocations: 255.9 kB / 0.5543 GB, free: 8.359 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001742/0.7279, allocations: 1.083 MB / 0.5553 GB, free: 7.414 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7279, allocations: 0 / 0.5553 GB, free: 7.414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009608/0.7375, allocations: 2.947 MB / 0.5582 GB, free: 4.457 MB / 442.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.001255/0.7387, allocations: 483.9 kB / 0.5587 GB, free: 4.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007171/0.7459, allocations: 4.346 MB / 0.5629 GB, free: 176 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003823/0.7463, allocations: 129.9 kB / 0.563 GB, free: 36 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003518/0.7498, allocations: 2.567 MB / 0.5655 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00553/0.7553, allocations: 1.731 MB / 0.5672 GB, free: 12.06 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08166/0.837, allocations: 21.54 MB / 0.5883 GB, free: 5.469 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00522/0.8422, allocations: 2.555 MB / 0.5908 GB, free: 2.887 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004642/0.8468, allocations: 0.9129 MB / 0.5916 GB, free: 1.969 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003305/0.8502, allocations: 1.233 MB / 0.5928 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of SimCode: time 1.753e-06/0.8502, allocations: 4 kB / 0.5929 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of Templates: time 0.2795/1.13, allocations: 87.43 MB / 0.6782 GB, free: 95.75 MB / 490.7 MB " [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 -ignoreHideResult -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.311001366004348]