Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001474/0.001474, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001578/0.001578, allocations: 217 kB / 24.5 MB, free: 4.133 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.327/1.327, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2131/0.2131, allocations: 46.93 MB / 361.5 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 79.88 kB / 0.4974 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2848, allocations: 66.08 MB / 0.562 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0219/0.3067, allocations: 19.88 MB / 0.5814 GB, free: 288 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.3176, allocations: 5.001 MB / 0.5863 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003907/0.3215, allocations: 194.9 kB / 0.5864 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01783/0.3393, allocations: 7.855 MB / 0.5941 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008304/0.3476, allocations: 2.105 MB / 0.5962 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.3524, allocations: 1.426 MB / 0.5976 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01739/0.3698, allocations: 12.24 MB / 0.6095 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03316/0.403, allocations: 16.87 MB / 0.626 GB, free: 2.305 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01206/0.415, allocations: 6.659 MB / 0.6325 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01289/0.4279, allocations: 7.288 MB / 0.6396 GB, free: 4.316 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005242/0.4331, allocations: 1.723 MB / 0.6413 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006811/0.44, allocations: 1.922 MB / 0.6432 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007104/0.4471, allocations: 3.659 MB / 0.6467 GB, free: 13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01434/0.4614, allocations: 7.011 MB / 0.6536 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03287/0.4943, allocations: 23.68 MB / 0.6767 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4943, allocations: 0 / 0.6767 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4943, allocations: 0 / 0.6767 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0006836/0.495, allocations: 0 / 0.6767 GB, free: 14.21 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.04272/0.5377, allocations: 14.75 MB / 0.6911 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.5377, allocations: 12.03 kB / 0.6911 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05827/0.596, allocations: 11.17 MB / 0.702 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01811/0.6141, allocations: 7.498 MB / 0.7094 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/0.6152, allocations: 0.891 MB / 0.7102 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00472/0.6199, allocations: 1.176 MB / 0.7114 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04651/0.6664, allocations: 18.6 MB / 0.7295 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006006/0.667, allocations: 23.84 kB / 0.7296 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004227/0.6712, allocations: 0.4921 MB / 0.73 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007983/0.672, allocations: 0.6538 MB / 0.7307 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4901/1.162, allocations: 19.14 MB / 0.7494 GB, free: 132.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08844/1.251, allocations: 59.52 MB / 0.8075 GB, free: 83.14 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/1.266, allocations: 10.7 MB / 0.8179 GB, free: 72.96 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005354/1.271, allocations: 4.223 MB / 0.8221 GB, free: 68.71 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/1.272, allocations: 239.3 kB / 0.8223 GB, free: 68.53 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.532e-05/1.272, allocations: 103.7 kB / 0.8224 GB, free: 68.42 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 8.125e-06/1.272, allocations: 0 / 0.8224 GB, free: 68.42 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01634/1.288, allocations: 12.02 MB / 0.8341 GB, free: 56.31 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/1.288, allocations: 116.5 kB / 0.8342 GB, free: 56.18 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/1.3, allocations: 8.607 MB / 0.8426 GB, free: 47.63 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009081/1.301, allocations: 133.7 kB / 0.8428 GB, free: 47.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002724/1.304, allocations: 4.613 MB / 0.8473 GB, free: 43.37 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001969/1.306, allocations: 2.297 MB / 0.8495 GB, free: 41.05 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002929/1.309, allocations: 1.474 MB / 0.851 GB, free: 39.57 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.786e-05/1.309, allocations: 301.1 kB / 0.8512 GB, free: 39.28 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00511/1.314, allocations: 4.117 MB / 0.8553 GB, free: 35.16 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006368/1.32, allocations: 6.917 MB / 0.862 GB, free: 26.97 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/1.333, allocations: 11.99 MB / 0.8737 GB, free: 13.62 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.841e-05/1.333, allocations: 28 kB / 0.8738 GB, free: 13.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01891/1.352, allocations: 12.09 MB / 0.8856 GB, free: 1.395 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/1.352, allocations: 47.98 kB / 0.8856 GB, free: 1.348 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/1.352, allocations: 92 kB / 0.8857 GB, free: 1.258 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000983/1.353, allocations: 413 kB / 0.8861 GB, free: 0.8359 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007375/1.36, allocations: 2.012 MB / 0.8881 GB, free: 14.82 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008405/1.369, allocations: 8.97 MB / 0.8968 GB, free: 5.164 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007218/1.376, allocations: 1.381 MB / 0.8982 GB, free: 3.773 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001483/1.377, allocations: 387.9 kB / 0.8985 GB, free: 3.395 MB / 0.5763 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.009172/1.387, allocations: 4.57 MB / 0.903 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002022/1.389, allocations: 0.7413 MB / 0.9037 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02141/1.41, allocations: 10.61 MB / 0.9141 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.13e-05/1.41, allocations: 67.94 kB / 0.9141 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/1.41, allocations: 7.938 kB / 0.9142 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001043/1.41, allocations: 31.88 kB / 0.9142 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4274/1.838, allocations: 152.6 MB / 1.063 GB, free: 184.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001382/1.838, allocations: 88 kB / 1.063 GB, free: 184.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005582/1.843, allocations: 1.556 MB / 1.065 GB, free: 183.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008202/1.844, allocations: 384.2 kB / 1.065 GB, free: 182.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008973/1.845, allocations: 251.9 kB / 1.065 GB, free: 182.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004624/1.85, allocations: 8.849 MB / 1.074 GB, free: 173.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.878e-05/1.85, allocations: 133 kB / 1.074 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01866/1.868, allocations: 18.64 MB / 1.092 GB, free: 152.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005275/1.874, allocations: 2.072 MB / 1.094 GB, free: 150.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002035/1.876, allocations: 245.9 kB / 1.095 GB, free: 150.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005655/1.881, allocations: 0.5502 MB / 1.095 GB, free: 150.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001342/1.883, allocations: 0.7611 MB / 1.096 GB, free: 149.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000511/1.883, allocations: 323.9 kB / 1.096 GB, free: 149 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008905/1.892, allocations: 6.047 MB / 1.102 GB, free: 143 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/1.892, allocations: 0 / 1.102 GB, free: 143 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009994/1.902, allocations: 2.64 MB / 1.105 GB, free: 140.5 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.001778/1.904, allocations: 0.4913 MB / 1.105 GB, free: 140.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01398/1.918, allocations: 10.33 MB / 1.115 GB, free: 129.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.64e-05/1.918, allocations: 12 kB / 1.115 GB, free: 129.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007199/1.925, allocations: 5.285 MB / 1.12 GB, free: 124.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01074/1.936, allocations: 1.5 MB / 1.122 GB, free: 122.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03712/1.973, allocations: 24.6 MB / 1.146 GB, free: 97 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01127/1.984, allocations: 7.522 MB / 1.153 GB, free: 89.45 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003458/1.988, allocations: 0.7024 MB / 1.154 GB, free: 88.74 MB / 0.67 GB Notification: Performance of SimCode: time 1.593e-06/1.988, allocations: 0 / 1.154 GB, free: 88.74 MB / 0.67 GB Notification: Performance of Templates: time 1.018/3.006, allocations: 0.5414 GB / 1.695 GB, free: 89.16 MB / 0.7013 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 20.657345348969102]