Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008327/0.008327, allocations: 103.5 kB / 21.97 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00206/0.00206, allocations: 220.3 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2298/0.2298, allocations: 46.92 MB / 362.3 MB, free: 4.211 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 79.86 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3065, allocations: 66.07 MB / 0.5627 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02352/0.33, allocations: 19.86 MB / 0.5821 GB, free: 308 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.3413, allocations: 5.004 MB / 0.587 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003838/0.3451, allocations: 195 kB / 0.5872 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01849/0.3636, allocations: 7.858 MB / 0.5949 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008047/0.3717, allocations: 2.113 MB / 0.5969 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004526/0.3762, allocations: 1.426 MB / 0.5983 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01676/0.3929, allocations: 12.24 MB / 0.6103 GB, free: 3.395 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03026/0.4232, allocations: 16.87 MB / 0.6268 GB, free: 2.316 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01106/0.4343, allocations: 6.659 MB / 0.6333 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01333/0.4476, allocations: 7.296 MB / 0.6404 GB, free: 4.316 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006968/0.4546, allocations: 1.719 MB / 0.6421 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007968/0.4625, allocations: 1.918 MB / 0.6439 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006252/0.4688, allocations: 3.663 MB / 0.6475 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0134/0.4822, allocations: 7.007 MB / 0.6544 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03136/0.5135, allocations: 23.67 MB / 0.6775 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.196e-05/0.5136, allocations: 3.984 kB / 0.6775 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5136, allocations: 0 / 0.6775 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0007295/0.5143, allocations: 0 / 0.6775 GB, free: 14.22 MB / 0.5137 GB 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.04429/0.5586, allocations: 14.75 MB / 0.6919 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.5586, allocations: 8.031 kB / 0.6919 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08238/0.641, allocations: 11.17 MB / 0.7028 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01873/0.6597, allocations: 7.499 MB / 0.7101 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001125/0.6609, allocations: 0.891 MB / 0.711 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005757/0.6666, allocations: 1.176 MB / 0.7121 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05064/0.7172, allocations: 18.61 MB / 0.7303 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005728/0.7178, allocations: 23.89 kB / 0.7303 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004085/0.7219, allocations: 496 kB / 0.7308 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008126/0.7227, allocations: 0.6577 MB / 0.7315 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3016/1.024, allocations: 19.14 MB / 0.7501 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09521/1.12, allocations: 59.52 MB / 0.8083 GB, free: 85.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01697/1.136, allocations: 10.7 MB / 0.8187 GB, free: 75.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006383/1.143, allocations: 4.22 MB / 0.8228 GB, free: 71.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/1.144, allocations: 235 kB / 0.8231 GB, free: 70.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/1.144, allocations: 103.7 kB / 0.8232 GB, free: 70.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=653): time 1.359e-05/1.144, allocations: 0 / 0.8232 GB, free: 70.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=653): time 0.01957/1.163, allocations: 12.01 MB / 0.8349 GB, free: 58.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.163, allocations: 116.5 kB / 0.835 GB, free: 58.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01362/1.177, allocations: 8.612 MB / 0.8434 GB, free: 49.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001172/1.178, allocations: 129.7 kB / 0.8435 GB, free: 49.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00335/1.181, allocations: 4.618 MB / 0.8481 GB, free: 45.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00238/1.184, allocations: 2.296 MB / 0.8503 GB, free: 42.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004157/1.188, allocations: 1.466 MB / 0.8517 GB, free: 41.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.261e-05/1.188, allocations: 301.1 kB / 0.852 GB, free: 41.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006161/1.194, allocations: 4.117 MB / 0.856 GB, free: 37.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007534/1.202, allocations: 6.917 MB / 0.8628 GB, free: 28.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/1.216, allocations: 11.99 MB / 0.8745 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-05/1.216, allocations: 28 kB / 0.8745 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02143/1.237, allocations: 12.09 MB / 0.8863 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.237, allocations: 44 kB / 0.8864 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/1.237, allocations: 92 kB / 0.8865 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009636/1.238, allocations: 413.2 kB / 0.8869 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00712/1.245, allocations: 2.016 MB / 0.8888 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008448/1.254, allocations: 8.976 MB / 0.8976 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008052/1.262, allocations: 1.381 MB / 0.8989 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002/1.264, allocations: 383.9 kB / 0.8993 GB, free: 5.324 MB / 0.5762 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.01161/1.276, allocations: 4.582 MB / 0.9038 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002578/1.278, allocations: 0.7415 MB / 0.9045 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02458/1.303, allocations: 10.6 MB / 0.9149 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-05/1.303, allocations: 71.88 kB / 0.9149 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.428e-05/1.303, allocations: 4 kB / 0.9149 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001548/1.303, allocations: 31.88 kB / 0.915 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4954/1.798, allocations: 152.6 MB / 1.064 GB, free: 189.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003446/1.799, allocations: 87.41 kB / 1.064 GB, free: 189.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006114/1.805, allocations: 1.56 MB / 1.066 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/1.806, allocations: 384.3 kB / 1.066 GB, free: 187.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001521/1.807, allocations: 254.6 kB / 1.066 GB, free: 187.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005291/1.813, allocations: 8.849 MB / 1.075 GB, free: 177.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.723e-05/1.813, allocations: 135.4 kB / 1.075 GB, free: 177.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02259/1.835, allocations: 18.64 MB / 1.093 GB, free: 157.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005984/1.841, allocations: 2.075 MB / 1.095 GB, free: 155.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00241/1.844, allocations: 243.9 kB / 1.095 GB, free: 155.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006297/1.85, allocations: 0.5463 MB / 1.096 GB, free: 154.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001738/1.852, allocations: 0.765 MB / 1.097 GB, free: 154.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00126/1.853, allocations: 319.9 kB / 1.097 GB, free: 153.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01074/1.864, allocations: 6.047 MB / 1.103 GB, free: 147.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/1.864, allocations: 3.828 kB / 1.103 GB, free: 147.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01097/1.875, allocations: 2.646 MB / 1.105 GB, free: 145.1 MB / 0.67 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.002012/1.877, allocations: 0.4937 MB / 1.106 GB, free: 144.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01628/1.893, allocations: 10.33 MB / 1.116 GB, free: 134.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.291e-05/1.893, allocations: 16.06 kB / 1.116 GB, free: 134.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008125/1.901, allocations: 5.282 MB / 1.121 GB, free: 128.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01283/1.914, allocations: 1.488 MB / 1.123 GB, free: 127.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03968/1.954, allocations: 24.59 MB / 1.147 GB, free: 101.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/1.965, allocations: 7.525 MB / 1.154 GB, free: 93.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003471/1.968, allocations: 0.6985 MB / 1.155 GB, free: 93.28 MB / 0.67 GB Notification: Performance of SimCode: time 1.653e-06/1.968, allocations: 0 / 1.155 GB, free: 93.28 MB / 0.67 GB Notification: Performance of Templates: time 1.093/3.061, allocations: 0.5414 GB / 1.696 GB, free: 97.23 MB / 0.7012 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 23.273219371913]