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.001454/0.001454, allocations: 110.3 kB / 21.17 MB, free: 0.7812 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.001626/0.001626, allocations: 209.4 kB / 24.46 MB, free: 4.359 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.573/1.573, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2647/0.2647, allocations: 46.89 MB / 361.1 MB, free: 4.648 MB / 286.1 MB " [Timeout remaining time 179] 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.002507/0.002507, allocations: 80.09 kB / 0.4968 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4013, allocations: 65.98 MB / 0.5612 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02223/0.4236, allocations: 19.87 MB / 0.5806 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.4358, allocations: 4.992 MB / 0.5855 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004127/0.4399, allocations: 167.4 kB / 0.5856 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01897/0.4589, allocations: 7.843 MB / 0.5933 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00836/0.4673, allocations: 2.074 MB / 0.5953 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004585/0.4719, allocations: 1.395 MB / 0.5967 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0205/0.4924, allocations: 12.17 MB / 0.6086 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03187/0.5242, allocations: 15.78 MB / 0.624 GB, free: 4.379 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01321/0.5374, allocations: 6.542 MB / 0.6304 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01443/0.5519, allocations: 7.28 MB / 0.6375 GB, free: 6.516 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005965/0.5578, allocations: 1.719 MB / 0.6392 GB, free: 4.797 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008913/0.5668, allocations: 1.918 MB / 0.641 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008192/0.5749, allocations: 3.662 MB / 0.6446 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01698/0.5919, allocations: 7.011 MB / 0.6515 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0359/0.6278, allocations: 23.67 MB / 0.6746 GB, free: 428 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.6278, allocations: 0 / 0.6746 GB, free: 428 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6278, allocations: 0 / 0.6746 GB, free: 428 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008675/0.6287, allocations: 3.938 kB / 0.6746 GB, free: 424 kB / 0.4981 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.05661/0.6853, allocations: 14.83 MB / 0.6891 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.6854, allocations: 12.03 kB / 0.6891 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06451/0.7499, allocations: 11.17 MB / 0.7 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02275/0.7726, allocations: 7.367 MB / 0.7072 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001149/0.7738, allocations: 0.8871 MB / 0.708 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00525/0.779, allocations: 1.172 MB / 0.7092 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05442/0.8334, allocations: 18.61 MB / 0.7274 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005682/0.834, allocations: 23.89 kB / 0.7274 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004345/0.8384, allocations: 492 kB / 0.7278 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009267/0.8393, allocations: 0.6539 MB / 0.7285 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7377/1.577, allocations: 19.15 MB / 0.7472 GB, free: 133.1 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1259/1.703, allocations: 60.35 MB / 0.8061 GB, free: 85.15 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.021/1.724, allocations: 16.11 MB / 0.8219 GB, free: 68.22 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006913/1.731, allocations: 4.227 MB / 0.826 GB, free: 63.96 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007596/1.732, allocations: 391.3 kB / 0.8264 GB, free: 63.59 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/1.732, allocations: 103.7 kB / 0.8265 GB, free: 63.48 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.264e-05/1.732, allocations: 0 / 0.8265 GB, free: 63.48 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.02124/1.753, allocations: 12.46 MB / 0.8386 GB, free: 50.82 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/1.753, allocations: 120.5 kB / 0.8387 GB, free: 50.69 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01583/1.769, allocations: 8.609 MB / 0.8471 GB, free: 42.14 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001363/1.77, allocations: 133.7 kB / 0.8473 GB, free: 42 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003971/1.774, allocations: 4.611 MB / 0.8518 GB, free: 37.89 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003027/1.777, allocations: 2.296 MB / 0.854 GB, free: 35.59 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007594/1.785, allocations: 1.47 MB / 0.8554 GB, free: 34.11 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.702e-05/1.785, allocations: 305.1 kB / 0.8557 GB, free: 33.81 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006684/1.792, allocations: 4.113 MB / 0.8598 GB, free: 29.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008287/1.8, allocations: 6.913 MB / 0.8665 GB, free: 21.52 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/1.813, allocations: 11.99 MB / 0.8782 GB, free: 8.176 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.247e-05/1.813, allocations: 24 kB / 0.8782 GB, free: 8.152 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02164/1.835, allocations: 12.1 MB / 0.8901 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-05/1.835, allocations: 50.02 kB / 0.8901 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002183/1.835, allocations: 92 kB / 0.8902 GB, free: 11.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/1.836, allocations: 412.8 kB / 0.8906 GB, free: 11.38 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00932/1.846, allocations: 2.012 MB / 0.8925 GB, free: 9.367 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009991/1.856, allocations: 9.593 MB / 0.9019 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009402/1.865, allocations: 1.385 MB / 0.9033 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002109/1.867, allocations: 396 kB / 0.9036 GB, free: 13.15 MB / 0.5919 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.01179/1.879, allocations: 4.574 MB / 0.9081 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002138/1.881, allocations: 0.7335 MB / 0.9088 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02024/1.901, allocations: 10.6 MB / 0.9192 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.685e-05/1.901, allocations: 72 kB / 0.9193 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/1.901, allocations: 3.938 kB / 0.9193 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001105/1.902, allocations: 39.84 kB / 0.9193 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6698/2.571, allocations: 161.4 MB / 1.077 GB, free: 168.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001819/2.572, allocations: 87.98 kB / 1.077 GB, free: 168.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00616/2.578, allocations: 1.552 MB / 1.079 GB, free: 166.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009189/2.579, allocations: 384.2 kB / 1.079 GB, free: 166.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/2.58, allocations: 255.9 kB / 1.079 GB, free: 166.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00596/2.586, allocations: 9.464 MB / 1.088 GB, free: 156 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.674e-05/2.586, allocations: 131.4 kB / 1.089 GB, free: 155.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02349/2.609, allocations: 18.64 MB / 1.107 GB, free: 135.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007098/2.616, allocations: 2.071 MB / 1.109 GB, free: 133.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003202/2.62, allocations: 235.9 kB / 1.109 GB, free: 133.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007606/2.627, allocations: 0.5463 MB / 1.11 GB, free: 133 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002334/2.63, allocations: 0.7457 MB / 1.11 GB, free: 132.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008966/2.63, allocations: 323.9 kB / 1.111 GB, free: 131.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01159/2.642, allocations: 6.047 MB / 1.116 GB, free: 125.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/2.642, allocations: 0 / 1.116 GB, free: 125.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01272/2.655, allocations: 2.646 MB / 1.119 GB, free: 123.4 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.003152/2.658, allocations: 0.4989 MB / 1.12 GB, free: 123 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01814/2.676, allocations: 10.32 MB / 1.13 GB, free: 112.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-05/2.676, allocations: 12 kB / 1.13 GB, free: 112.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008729/2.685, allocations: 5.297 MB / 1.135 GB, free: 107.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0196/2.704, allocations: 1.486 MB / 1.136 GB, free: 105.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05255/2.757, allocations: 24.99 MB / 1.161 GB, free: 79.54 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01142/2.768, allocations: 7.773 MB / 1.168 GB, free: 71.73 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.01004/2.778, allocations: 3.562 MB / 1.172 GB, free: 68.15 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002876/2.781, allocations: 0.6321 MB / 1.172 GB, free: 67.52 MB / 0.67 GB Notification: Performance of SimCode: time 3.227e-06/2.781, allocations: 0 / 1.172 GB, free: 67.52 MB / 0.67 GB Notification: Performance of Templates: time 0.6116/3.393, allocations: 97.43 MB / 1.267 GB, free: 219.2 MB / 0.6857 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.948034724686295]