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.0009074/0.0009074, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.000958/0.000958, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 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.9399/0.9399, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2489/0.2489, allocations: 32.8 MB / 294.6 MB, free: 1.18 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 2.164e-06/2.164e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.754e-05, allocations: 3.891 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.015/0.01503, allocations: 18.41 MB / 341.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.02654, allocations: 5.236 MB / 346.9 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.02926, allocations: 195 kB / 347.1 MB, free: 1.758 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008278/0.03753, allocations: 8.322 MB / 355.4 MB, free: 9.398 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004933/0.04247, allocations: 2.144 MB / 357.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.04464, allocations: 1.392 MB / 358.9 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01007/0.05472, allocations: 12.64 MB / 371.6 MB, free: 9.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01735/0.07207, allocations: 17.29 MB / 388.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01234/0.08441, allocations: 9.879 MB / 398.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00852/0.09293, allocations: 7.353 MB / 406.1 MB, free: 6.352 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002538/0.09547, allocations: 1.719 MB / 407.8 MB, free: 4.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.09829, allocations: 1.921 MB / 409.7 MB, free: 2.711 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002241/0.1005, allocations: 3.791 MB / 413.5 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004357/0.1049, allocations: 4.772 MB / 418.3 MB, free: 10.13 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009436/0.1143, allocations: 12 MB / 430.3 MB, free: 14.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1143, allocations: 0 / 430.3 MB, free: 14.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1143, allocations: 0 / 430.3 MB, free: 14.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001624/0.1145, allocations: 0 / 430.3 MB, free: 14.09 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.3018/0.4163, allocations: 14.11 MB / 444.4 MB, free: 82.12 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4163, allocations: 9.719 kB / 444.4 MB, free: 82.12 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03126/0.4476, allocations: 10.04 MB / 454.4 MB, free: 82.09 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00843/0.456, allocations: 3.656 MB / 458.1 MB, free: 81.6 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004729/0.4565, allocations: 0.8885 MB / 459 MB, free: 81.57 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/0.4581, allocations: 1.185 MB / 460.2 MB, free: 81.56 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.4692, allocations: 8.979 MB / 469.1 MB, free: 77.14 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001675/0.4693, allocations: 14.38 kB / 469.2 MB, free: 77.13 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007705/0.4701, allocations: 495.6 kB / 469.6 MB, free: 76.68 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003051/0.4704, allocations: 0.6577 MB / 470.3 MB, free: 76.02 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005273/0.4757, allocations: 4.156 MB / 474.4 MB, free: 71.84 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03592/0.5116, allocations: 34.03 MB / 0.4966 GB, free: 39.55 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.5162, allocations: 5.384 MB / 0.5018 GB, free: 34.23 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.5173, allocations: 1.143 MB / 0.5029 GB, free: 33.1 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.5176, allocations: 224.4 kB / 0.5031 GB, free: 32.88 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.5176, allocations: 103.7 kB / 0.5032 GB, free: 32.77 MB / 410.8 MB Notification: Performance of pre-optimization done (n=653): time 7.685e-06/0.5176, allocations: 0 / 0.5032 GB, free: 32.77 MB / 410.8 MB Notification: Performance of matching and sorting (n=653): time 0.003822/0.5214, allocations: 3.01 MB / 0.5062 GB, free: 29.71 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.5215, allocations: 116.5 kB / 0.5063 GB, free: 29.58 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.5229, allocations: 2.348 MB / 0.5086 GB, free: 27.79 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002307/0.5232, allocations: 129.7 kB / 0.5087 GB, free: 27.65 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009591/0.5241, allocations: 4.302 MB / 0.5129 GB, free: 23.61 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007907/0.5249, allocations: 2.267 MB / 0.5151 GB, free: 21.48 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.526, allocations: 1.299 MB / 0.5164 GB, free: 20.32 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.885e-05/0.526, allocations: 309.1 kB / 0.5167 GB, free: 20.02 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009264/0.527, allocations: 0.7015 MB / 0.5174 GB, free: 19.32 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.5286, allocations: 3.522 MB / 0.5208 GB, free: 14.76 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/0.5319, allocations: 5.214 MB / 0.5259 GB, free: 8.75 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.658e-05/0.5319, allocations: 28 kB / 0.5259 GB, free: 8.723 MB / 410.8 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.004392/0.5363, allocations: 4.274 MB / 0.5301 GB, free: 4.957 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.5363, allocations: 44 kB / 0.5301 GB, free: 4.914 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.444e-05/0.5364, allocations: 92 kB / 0.5302 GB, free: 4.824 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/0.537, allocations: 361.5 kB / 0.5306 GB, free: 4.453 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/0.5399, allocations: 1.72 MB / 0.5323 GB, free: 2.859 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/0.5431, allocations: 7.272 MB / 0.5394 GB, free: 11.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/0.5459, allocations: 0.7368 MB / 0.5401 GB, free: 10.46 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/0.5463, allocations: 308 kB / 0.5404 GB, free: 10.16 MB / 426.8 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.002694/0.549, allocations: 0.6376 MB / 0.541 GB, free: 9.633 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006959/0.5497, allocations: 491.6 kB / 0.5415 GB, free: 9.152 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/0.5545, allocations: 4.246 MB / 0.5456 GB, free: 5.16 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/0.5545, allocations: 64 kB / 0.5457 GB, free: 5.098 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.5545, allocations: 4 kB / 0.5457 GB, free: 5.094 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.291e-05/0.5545, allocations: 31.88 kB / 0.5457 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03677/0.5913, allocations: 20 MB / 0.5652 GB, free: 1.473 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.178e-05/0.5914, allocations: 84 kB / 0.5653 GB, free: 1.391 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/0.5939, allocations: 1.295 MB / 0.5666 GB, free: 204 kB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006309/0.5946, allocations: 353 kB / 0.5669 GB, free: 15.84 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002744/0.5948, allocations: 239.9 kB / 0.5671 GB, free: 15.61 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.5977, allocations: 7.236 MB / 0.5742 GB, free: 7.965 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-05/0.5978, allocations: 130.9 kB / 0.5743 GB, free: 7.871 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007819/0.6056, allocations: 8.792 MB / 0.5829 GB, free: 12.89 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/0.6076, allocations: 0.8883 MB / 0.5838 GB, free: 12.03 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004951/0.6081, allocations: 247.9 kB / 0.584 GB, free: 11.79 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/0.6099, allocations: 272 kB / 0.5843 GB, free: 11.52 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006613/0.6106, allocations: 0.7519 MB / 0.585 GB, free: 10.84 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002966/0.6109, allocations: 259.9 kB / 0.5853 GB, free: 10.59 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.001174/0.612, allocations: 1.091 MB / 0.5863 GB, free: 9.637 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.612, allocations: 0 / 0.5863 GB, free: 9.637 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006196/0.6182, allocations: 2.943 MB / 0.5892 GB, free: 6.684 MB / 474.8 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.0006518/0.6189, allocations: 484.2 kB / 0.5897 GB, free: 6.305 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.005377/0.6243, allocations: 4.34 MB / 0.5939 GB, free: 2.32 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001328/0.6244, allocations: 76.44 kB / 0.594 GB, free: 2.242 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002485/0.6269, allocations: 2.569 MB / 0.5965 GB, free: 15.67 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/0.6309, allocations: 1.293 MB / 0.5978 GB, free: 14.42 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.222/0.853, allocations: 19.71 MB / 0.617 GB, free: 132.8 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003365/0.8563, allocations: 2.469 MB / 0.6194 GB, free: 132.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.00284/0.8592, allocations: 0.9177 MB / 0.6203 GB, free: 132.4 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002383/0.8615, allocations: 1.231 MB / 0.6215 GB, free: 132.4 MB / 490.8 MB Notification: Performance of SimCode: time 1.653e-06/0.8615, allocations: 4.531 kB / 0.6215 GB, free: 132.4 MB / 490.8 MB Notification: Performance of Templates: time 0.09496/0.9565, allocations: 84.2 MB / 0.7037 GB, free: 69.51 MB / 490.8 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 -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: 5.542829587124288]