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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001727, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002852, allocations: 7.984 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 63.55 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01799/0.1475, allocations: 18.46 MB / 0.4898 GB, free: 1.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.1601, allocations: 4.896 MB / 0.4946 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004841/0.165, allocations: 147.5 kB / 0.4947 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005187/0.1703, allocations: 1.225 MB / 0.4959 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009247/0.1795, allocations: 1.877 MB / 0.4977 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004841/0.1844, allocations: 1.298 MB / 0.499 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2531/0.4375, allocations: 12.43 MB / 0.5111 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0378/0.4753, allocations: 25.39 MB / 0.5359 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006468/0.4818, allocations: 4.558 MB / 0.5404 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.4919, allocations: 5.681 MB / 0.5459 GB, free: 0 / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003339/0.4953, allocations: 0.6837 MB / 0.5466 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.4997, allocations: 0.8779 MB / 0.5475 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002416/0.5021, allocations: 2.323 MB / 0.5497 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008343/0.5105, allocations: 5.573 MB / 0.5552 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02132/0.5318, allocations: 22.16 MB / 0.5768 GB, free: 1.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5319, allocations: 0 / 0.5768 GB, free: 1.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5319, allocations: 0 / 0.5768 GB, free: 1.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006624/0.5326, allocations: 0 / 0.5768 GB, free: 1.656 MB / 414.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.03229/0.5649, allocations: 11.87 MB / 0.5884 GB, free: 5.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5649, allocations: 8.875 kB / 0.5884 GB, free: 5.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06312/0.6281, allocations: 11.49 MB / 0.5996 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01678/0.6449, allocations: 7.089 MB / 0.6065 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001355/0.6463, allocations: 0.8837 MB / 0.6074 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005453/0.6517, allocations: 1.174 MB / 0.6086 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05157/0.7033, allocations: 18.56 MB / 0.6267 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007094/0.7041, allocations: 19.91 kB / 0.6267 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004304/0.7084, allocations: 0.493 MB / 0.6272 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008856/0.7093, allocations: 0.6499 MB / 0.6278 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04393/0.7533, allocations: 19.09 MB / 0.6465 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5663/1.32, allocations: 61.09 MB / 0.7061 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02248/1.342, allocations: 16.6 MB / 0.7223 GB, free: 134 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007321/1.35, allocations: 4.525 MB / 0.7267 GB, free: 134 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/1.35, allocations: 320.7 kB / 0.7271 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.531e-05/1.35, allocations: 105.8 kB / 0.7272 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 9.487e-06/1.35, allocations: 1.094 kB / 0.7272 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.02036/1.371, allocations: 12.38 MB / 0.7392 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/1.371, allocations: 115 kB / 0.7394 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01251/1.383, allocations: 8.605 MB / 0.7478 GB, free: 127.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001137/1.384, allocations: 130.5 kB / 0.7479 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003156/1.388, allocations: 4.496 MB / 0.7523 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002353/1.39, allocations: 2.186 MB / 0.7544 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000939/1.391, allocations: 0.5962 MB / 0.755 GB, free: 122 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.365e-05/1.391, allocations: 304.4 kB / 0.7553 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005815/1.397, allocations: 4.108 MB / 0.7593 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007873/1.405, allocations: 6.914 MB / 0.766 GB, free: 115.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/1.419, allocations: 11.94 MB / 0.7777 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/1.419, allocations: 27.44 kB / 0.7777 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01942/1.439, allocations: 12.01 MB / 0.7895 GB, free: 98.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-05/1.439, allocations: 47.94 kB / 0.7895 GB, free: 98.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/1.439, allocations: 92 kB / 0.7896 GB, free: 98.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000887/1.44, allocations: 416.8 kB / 0.79 GB, free: 98.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006922/1.447, allocations: 2.006 MB / 0.7919 GB, free: 96.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005696/1.452, allocations: 8.929 MB / 0.8007 GB, free: 86.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007316/1.46, allocations: 1.354 MB / 0.802 GB, free: 85.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.461, allocations: 376 kB / 0.8024 GB, free: 84.86 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.007824/1.469, allocations: 4.582 MB / 0.8068 GB, free: 80.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/1.47, allocations: 0.6943 MB / 0.8075 GB, free: 79.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/1.485, allocations: 10.62 MB / 0.8179 GB, free: 68.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-05/1.486, allocations: 75.94 kB / 0.8179 GB, free: 68.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/1.486, allocations: 4 kB / 0.818 GB, free: 68.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.78e-05/1.486, allocations: 31.88 kB / 0.818 GB, free: 68.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4411/1.927, allocations: 161.4 MB / 0.9756 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000303/1.927, allocations: 84 kB / 0.9757 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006081/1.933, allocations: 1.54 MB / 0.9772 GB, free: 147.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009815/1.934, allocations: 383.2 kB / 0.9776 GB, free: 146.8 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001197/1.935, allocations: 248 kB / 0.9778 GB, free: 146.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004971/1.94, allocations: 8.791 MB / 0.9864 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.98e-05/1.94, allocations: 138.2 kB / 0.9865 GB, free: 137 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/1.961, allocations: 18.54 MB / 1.005 GB, free: 116.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004431/1.966, allocations: 2.019 MB / 1.007 GB, free: 114.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001611/1.968, allocations: 247.9 kB / 1.007 GB, free: 114.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004967/1.973, allocations: 0.562 MB / 1.007 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008933/1.973, allocations: 0.7263 MB / 1.008 GB, free: 113.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004751/1.974, allocations: 309.1 kB / 1.008 GB, free: 113.1 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008062/1.982, allocations: 6.047 MB / 1.014 GB, free: 107 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.4e-07/1.982, allocations: 4 kB / 1.014 GB, free: 107 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00826/1.99, allocations: 2.621 MB / 1.017 GB, free: 104.4 MB / 0.5607 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.001184/1.991, allocations: 0.4917 MB / 1.017 GB, free: 103.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0135/2.005, allocations: 10.38 MB / 1.027 GB, free: 93.43 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.265e-05/2.005, allocations: 12 kB / 1.028 GB, free: 93.41 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007351/2.012, allocations: 5.457 MB / 1.033 GB, free: 87.9 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08469/2.097, allocations: 1.485 MB / 1.034 GB, free: 86.45 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03756/2.135, allocations: 29.06 MB / 1.063 GB, free: 56.16 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00898/2.144, allocations: 7.774 MB / 1.07 GB, free: 48.34 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.009578/2.153, allocations: 3.566 MB / 1.074 GB, free: 44.77 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/2.156, allocations: 0.5814 MB / 1.074 GB, free: 44.19 MB / 0.5607 GB Notification: Performance of SimCode: time 2.214e-06/2.156, allocations: 0 / 1.074 GB, free: 44.19 MB / 0.5607 GB Notification: Performance of Templates: time 0.4624/2.618, allocations: 98.24 MB / 1.17 GB, free: 155.4 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (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) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches