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.001437/0.001437, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001461/0.001461, allocations: 164.9 kB / 23.95 MB, free: 4.172 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.541/1.541, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.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.2104/0.2104, allocations: 34.27 MB / 294.9 MB, free: 14.59 MB / 286.1 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.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 1.182e-06/1.182e-06, allocations: 0 / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.605e-05, allocations: 2.281 kB / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.258/0.258, allocations: 16.99 MB / 459.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.27, allocations: 4.847 MB / 464.5 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005313/0.2753, allocations: 196.5 kB / 464.7 MB, free: 6.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01761/0.2929, allocations: 7.672 MB / 472.4 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009309/0.3022, allocations: 2.15 MB / 474.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004843/0.307, allocations: 1.379 MB / 475.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02064/0.3277, allocations: 12.62 MB / 488.5 MB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03852/0.3662, allocations: 16.78 MB / 0.4935 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02324/0.3894, allocations: 9.739 MB / 0.503 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01422/0.4036, allocations: 6.518 MB / 0.5093 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005974/0.4096, allocations: 1.719 MB / 0.511 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009795/0.4194, allocations: 1.917 MB / 0.5129 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008144/0.4276, allocations: 3.736 MB / 0.5165 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01347/0.441, allocations: 4.713 MB / 0.5212 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03472/0.4757, allocations: 23.9 MB / 0.5445 GB, free: 3.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4757, allocations: 0 / 0.5445 GB, free: 3.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4757, allocations: 0 / 0.5445 GB, free: 3.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001042/0.4768, allocations: 4 kB / 0.5445 GB, free: 3.168 MB / 446.1 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.04584/0.5226, allocations: 14.63 MB / 0.5588 GB, free: 4.441 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5227, allocations: 12.03 kB / 0.5588 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06382/0.5865, allocations: 11.18 MB / 0.5697 GB, free: 9.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01969/0.6062, allocations: 7.495 MB / 0.577 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001099/0.6073, allocations: 0.891 MB / 0.5779 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005588/0.6129, allocations: 1.172 MB / 0.579 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06228/0.6751, allocations: 19.14 MB / 0.5977 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004781/0.6756, allocations: 22.47 kB / 0.5978 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004552/0.6802, allocations: 492 kB / 0.5982 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007316/0.6809, allocations: 0.6539 MB / 0.5989 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05067/0.7316, allocations: 19.05 MB / 0.6175 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6545/1.386, allocations: 51.79 MB / 0.668 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02118/1.407, allocations: 10.64 MB / 0.6784 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00774/1.415, allocations: 4.217 MB / 0.6825 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008166/1.416, allocations: 185.1 kB / 0.6827 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/1.416, allocations: 106.5 kB / 0.6828 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 1.633e-05/1.416, allocations: 0 / 0.6828 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.02296/1.439, allocations: 11.75 MB / 0.6943 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/1.439, allocations: 118 kB / 0.6944 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007797/1.447, allocations: 3.823 MB / 0.6981 GB, free: 99.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001413/1.448, allocations: 136.5 kB / 0.6983 GB, free: 99.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003014/1.451, allocations: 4.684 MB / 0.7028 GB, free: 96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003092/1.454, allocations: 2.265 MB / 0.7051 GB, free: 94.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00513/1.46, allocations: 1.459 MB / 0.7065 GB, free: 93.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.742e-05/1.46, allocations: 308.1 kB / 0.7068 GB, free: 93.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006539/1.466, allocations: 4.114 MB / 0.7108 GB, free: 91.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007481/1.474, allocations: 6.92 MB / 0.7176 GB, free: 83.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/1.489, allocations: 11.98 MB / 0.7293 GB, free: 70.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/1.489, allocations: 24 kB / 0.7293 GB, free: 70.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02365/1.513, allocations: 11.84 MB / 0.7408 GB, free: 59.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/1.513, allocations: 44 kB / 0.7409 GB, free: 59.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001932/1.513, allocations: 92 kB / 0.741 GB, free: 59.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/1.514, allocations: 409.4 kB / 0.7414 GB, free: 58.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00811/1.522, allocations: 2.013 MB / 0.7433 GB, free: 56.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005676/1.528, allocations: 8.812 MB / 0.7519 GB, free: 47.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007271/1.535, allocations: 1.016 MB / 0.7529 GB, free: 46.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/1.537, allocations: 387.9 kB / 0.7533 GB, free: 46.18 MB / 0.5294 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.009555/1.547, allocations: 4.581 MB / 0.7578 GB, free: 41.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002023/1.549, allocations: 484.9 kB / 0.7582 GB, free: 41.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/1.567, allocations: 10.32 MB / 0.7683 GB, free: 30.81 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/1.567, allocations: 68 kB / 0.7684 GB, free: 30.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.671e-05/1.567, allocations: 3.984 kB / 0.7684 GB, free: 30.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001155/1.567, allocations: 32.75 kB / 0.7684 GB, free: 30.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4344/2.001, allocations: 150.1 MB / 0.915 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002058/2.002, allocations: 86 kB / 0.9151 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006269/2.008, allocations: 1.556 MB / 0.9166 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009041/2.009, allocations: 384.2 kB / 0.917 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/2.01, allocations: 258.2 kB / 0.9172 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005103/2.015, allocations: 8.685 MB / 0.9257 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.025e-05/2.015, allocations: 139.3 kB / 0.9258 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02339/2.038, allocations: 18.19 MB / 0.9436 GB, free: 148.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004181/2.042, allocations: 1.556 MB / 0.9451 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/2.044, allocations: 242 kB / 0.9454 GB, free: 146.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005448/2.049, allocations: 0.5463 MB / 0.9459 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001541/2.051, allocations: 0.7611 MB / 0.9466 GB, free: 145.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006622/2.052, allocations: 323.9 kB / 0.9469 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003775/2.055, allocations: 2.542 MB / 0.9494 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/2.055, allocations: 0 / 0.9494 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01001/2.065, allocations: 2.95 MB / 0.9523 GB, free: 140.1 MB / 0.5919 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.002018/2.067, allocations: 498 kB / 0.9528 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0145/2.082, allocations: 10.33 MB / 0.9629 GB, free: 129.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 0.0001172/2.082, allocations: 12 kB / 0.9629 GB, free: 129.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008091/2.09, allocations: 5.282 MB / 0.968 GB, free: 123.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01142/2.101, allocations: 1.272 MB / 0.9693 GB, free: 122.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0438/2.145, allocations: 24.11 MB / 0.9928 GB, free: 97.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0136/2.159, allocations: 7.401 MB / 1 GB, free: 89.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01137/2.17, allocations: 3.202 MB / 1.003 GB, free: 86.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004225/2.174, allocations: 0.5238 MB / 1.004 GB, free: 86.12 MB / 0.5919 GB Notification: Performance of SimCode: time 2.695e-06/2.174, allocations: 0 / 1.004 GB, free: 86.12 MB / 0.5919 GB Notification: Performance of Templates: time 0.1213/2.296, allocations: 76.49 MB / 1.078 GB, free: 10.49 MB / 0.5919 GB " [Timeout remaining time 658] 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: 10.365248292684555]