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.001128/0.001128, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 46.11 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 68.22 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 62.45 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01968/0.1254, allocations: 19.75 MB / 0.4895 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.1359, allocations: 4.974 MB / 0.4943 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003775/0.1397, allocations: 167.5 kB / 0.4945 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01519/0.155, allocations: 7.765 MB / 0.5021 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00638/0.1614, allocations: 2.047 MB / 0.5041 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00383/0.1652, allocations: 1.397 MB / 0.5054 GB, free: 284 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1988/0.364, allocations: 12.17 MB / 0.5173 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03211/0.3962, allocations: 26.08 MB / 0.5428 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/0.4073, allocations: 6.498 MB / 0.5491 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01301/0.4203, allocations: 7.21 MB / 0.5562 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00546/0.4258, allocations: 1.722 MB / 0.5578 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/0.4381, allocations: 2.254 MB / 0.56 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006888/0.445, allocations: 3.643 MB / 0.5636 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01273/0.4578, allocations: 7.016 MB / 0.5705 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02677/0.4846, allocations: 23.61 MB / 0.5935 GB, free: 14.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4847, allocations: 0 / 0.5935 GB, free: 14.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4847, allocations: 0 / 0.5935 GB, free: 14.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007758/0.4855, allocations: 4 kB / 0.5935 GB, free: 14.07 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.04379/0.5293, allocations: 14.56 MB / 0.6077 GB, free: 15.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.5293, allocations: 8.031 kB / 0.6077 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05934/0.5887, allocations: 11.43 MB / 0.6189 GB, free: 4.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02113/0.6098, allocations: 7.328 MB / 0.6261 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/0.6109, allocations: 0.8849 MB / 0.6269 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005323/0.6163, allocations: 1.169 MB / 0.6281 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0504/0.6667, allocations: 18.57 MB / 0.6462 GB, free: 8.516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000685/0.6674, allocations: 15.81 kB / 0.6462 GB, free: 8.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004412/0.6719, allocations: 0.4925 MB / 0.6467 GB, free: 8.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007608/0.6726, allocations: 0.6578 MB / 0.6473 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04124/0.7139, allocations: 19.07 MB / 0.666 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4954/1.209, allocations: 60.2 MB / 0.7247 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/1.226, allocations: 16.6 MB / 0.741 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006095/1.232, allocations: 4.521 MB / 0.7454 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005201/1.233, allocations: 323.3 kB / 0.7457 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/1.233, allocations: 110.8 kB / 0.7458 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 7.244e-06/1.233, allocations: 0 / 0.7458 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01648/1.249, allocations: 12.35 MB / 0.7579 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/1.249, allocations: 116.8 kB / 0.758 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0131/1.263, allocations: 8.61 MB / 0.7664 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.264, allocations: 132.2 kB / 0.7665 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0032/1.267, allocations: 4.484 MB / 0.7709 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002516/1.269, allocations: 2.193 MB / 0.773 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004124/1.274, allocations: 1.435 MB / 0.7744 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.671e-05/1.274, allocations: 309 kB / 0.7747 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006059/1.28, allocations: 4.104 MB / 0.7787 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007429/1.287, allocations: 6.9 MB / 0.7855 GB, free: 98.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/1.301, allocations: 11.94 MB / 0.7971 GB, free: 87.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/1.302, allocations: 28 kB / 0.7971 GB, free: 87.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02141/1.323, allocations: 12.01 MB / 0.8089 GB, free: 75.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/1.323, allocations: 44 kB / 0.8089 GB, free: 75.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000172/1.323, allocations: 92 kB / 0.809 GB, free: 75.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009957/1.324, allocations: 405.5 kB / 0.8094 GB, free: 75.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007036/1.331, allocations: 2.001 MB / 0.8113 GB, free: 73.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005382/1.337, allocations: 9.593 MB / 0.8207 GB, free: 62.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007339/1.344, allocations: 1.357 MB / 0.822 GB, free: 61.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001572/1.346, allocations: 372 kB / 0.8224 GB, free: 61.05 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.008568/1.354, allocations: 4.586 MB / 0.8269 GB, free: 56.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002176/1.357, allocations: 0.7059 MB / 0.8276 GB, free: 55.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/1.373, allocations: 10.59 MB / 0.8379 GB, free: 45.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.501e-05/1.373, allocations: 68 kB / 0.838 GB, free: 44.97 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.402e-05/1.373, allocations: 4 kB / 0.838 GB, free: 44.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-05/1.373, allocations: 31.88 kB / 0.838 GB, free: 44.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3981/1.772, allocations: 161.3 MB / 0.9955 GB, free: 125.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001405/1.772, allocations: 88 kB / 0.9956 GB, free: 125.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004951/1.777, allocations: 1.544 MB / 0.9971 GB, free: 124.1 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007548/1.777, allocations: 384.7 kB / 0.9975 GB, free: 123.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004641/1.778, allocations: 244 kB / 0.9977 GB, free: 123.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004592/1.783, allocations: 9.454 MB / 1.007 GB, free: 113.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.008e-05/1.783, allocations: 135.3 kB / 1.007 GB, free: 113.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/1.8, allocations: 18.54 MB / 1.025 GB, free: 92.96 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004996/1.805, allocations: 2.011 MB / 1.027 GB, free: 90.98 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001547/1.806, allocations: 247.9 kB / 1.027 GB, free: 90.74 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004736/1.811, allocations: 0.5541 MB / 1.028 GB, free: 90.19 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009117/1.812, allocations: 0.7302 MB / 1.029 GB, free: 89.45 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004564/1.813, allocations: 311.9 kB / 1.029 GB, free: 89.15 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007742/1.82, allocations: 6.047 MB / 1.035 GB, free: 83.12 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.6e-07/1.82, allocations: 0 / 1.035 GB, free: 83.12 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009384/1.83, allocations: 2.62 MB / 1.037 GB, free: 80.49 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.001656/1.831, allocations: 499 kB / 1.038 GB, free: 80 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01357/1.845, allocations: 10.59 MB / 1.048 GB, free: 69.36 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 6.551e-05/1.845, allocations: 16.12 kB / 1.048 GB, free: 69.35 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007189/1.852, allocations: 5.442 MB / 1.054 GB, free: 63.84 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01022/1.863, allocations: 1.494 MB / 1.055 GB, free: 62.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03482/1.897, allocations: 24.63 MB / 1.079 GB, free: 36.55 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008446/1.906, allocations: 7.769 MB / 1.087 GB, free: 28.74 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007855/1.914, allocations: 3.562 MB / 1.09 GB, free: 25.17 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/1.916, allocations: 0.589 MB / 1.091 GB, free: 24.59 MB / 0.5607 GB Notification: Performance of SimCode: time 1.142e-06/1.916, allocations: 0 / 1.091 GB, free: 24.59 MB / 0.5607 GB Notification: Performance of Templates: time 0.3655/2.281, allocations: 93.54 MB / 1.182 GB, free: 147.3 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches