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.001255/0.001255, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2555/0.2555, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 75.73 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1727, allocations: 62.46 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02336/0.1961, allocations: 19.76 MB / 499.9 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.2103, allocations: 4.97 MB / 0.493 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005871/0.2162, allocations: 163.5 kB / 0.4932 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02041/0.2368, allocations: 7.765 MB / 0.5008 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01229/0.2491, allocations: 2.039 MB / 0.5027 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005616/0.2547, allocations: 1.408 MB / 0.5041 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3452/0.5999, allocations: 12.06 MB / 0.5159 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05098/0.6509, allocations: 26.19 MB / 0.5415 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01974/0.6707, allocations: 6.483 MB / 0.5478 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01809/0.6889, allocations: 7.224 MB / 0.5549 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008901/0.6978, allocations: 1.719 MB / 0.5565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02266/0.7205, allocations: 2.379 MB / 0.5589 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01187/0.7324, allocations: 3.66 MB / 0.5624 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02313/0.7556, allocations: 7.008 MB / 0.5693 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04724/0.8029, allocations: 23.47 MB / 0.5922 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.59e-05/0.8031, allocations: 0 / 0.5922 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.029e-06/0.8031, allocations: 4 kB / 0.5922 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001513/0.8046, allocations: 0 / 0.5922 GB, free: 14.36 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.09846/0.9031, allocations: 14.55 MB / 0.6064 GB, free: 15.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.78e-05/0.9032, allocations: 12.03 kB / 0.6064 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1139/1.017, allocations: 11.12 MB / 0.6173 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02008/1.037, allocations: 7.114 MB / 0.6242 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001748/1.039, allocations: 0.8835 MB / 0.6251 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00735/1.046, allocations: 1.177 MB / 0.6262 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05984/1.106, allocations: 18.6 MB / 0.6444 GB, free: 9.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005042/1.107, allocations: 23.8 kB / 0.6444 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004996/1.112, allocations: 496.7 kB / 0.6449 GB, free: 8.785 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008754/1.113, allocations: 0.6499 MB / 0.6455 GB, free: 8.133 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0486/1.161, allocations: 19.14 MB / 0.6642 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7162/1.878, allocations: 60.86 MB / 0.7237 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02074/1.898, allocations: 16.63 MB / 0.7399 GB, free: 94.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007369/1.906, allocations: 4.539 MB / 0.7443 GB, free: 94.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/1.907, allocations: 398.5 kB / 0.7447 GB, free: 93.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/1.907, allocations: 102.1 kB / 0.7448 GB, free: 93.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 8.897e-06/1.907, allocations: 0 / 0.7448 GB, free: 93.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01897/1.926, allocations: 12.42 MB / 0.757 GB, free: 91.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/1.926, allocations: 119.1 kB / 0.7571 GB, free: 91.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/1.938, allocations: 8.611 MB / 0.7655 GB, free: 88.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001383/1.939, allocations: 136.3 kB / 0.7656 GB, free: 88.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003785/1.943, allocations: 4.484 MB / 0.77 GB, free: 84.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002891/1.946, allocations: 2.192 MB / 0.7721 GB, free: 82.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002289/1.948, allocations: 1.463 MB / 0.7736 GB, free: 82.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.76e-05/1.949, allocations: 309.1 kB / 0.7738 GB, free: 82.03 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005382/1.954, allocations: 4.116 MB / 0.7779 GB, free: 80.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00673/1.961, allocations: 6.916 MB / 0.7846 GB, free: 74.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/1.974, allocations: 11.98 MB / 0.7963 GB, free: 66.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.139e-05/1.974, allocations: 28 kB / 0.7963 GB, free: 66.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02051/1.994, allocations: 12.07 MB / 0.8081 GB, free: 54.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.792e-05/1.994, allocations: 44 kB / 0.8082 GB, free: 54.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001727/1.995, allocations: 92 kB / 0.8083 GB, free: 54.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008831/1.995, allocations: 404.9 kB / 0.8086 GB, free: 54.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007382/2.003, allocations: 2.025 MB / 0.8106 GB, free: 52.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005263/2.008, allocations: 9.588 MB / 0.82 GB, free: 41.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007489/2.016, allocations: 1.353 MB / 0.8213 GB, free: 40.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00168/2.017, allocations: 387.9 kB / 0.8217 GB, free: 40.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.008022/2.025, allocations: 4.573 MB / 0.8261 GB, free: 35.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/2.027, allocations: 0.6982 MB / 0.8268 GB, free: 34.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/2.043, allocations: 10.62 MB / 0.8372 GB, free: 24.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-05/2.043, allocations: 71.94 kB / 0.8373 GB, free: 24.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/2.043, allocations: 4 kB / 0.8373 GB, free: 24.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.463e-05/2.043, allocations: 31.88 kB / 0.8373 GB, free: 24.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5516/2.595, allocations: 161.5 MB / 0.995 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003225/2.595, allocations: 88 kB / 0.9951 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006356/2.601, allocations: 1.567 MB / 0.9966 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009396/2.602, allocations: 373.6 kB / 0.997 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001392/2.604, allocations: 263.9 kB / 0.9972 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005601/2.609, allocations: 9.456 MB / 1.006 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.358e-05/2.61, allocations: 139.4 kB / 1.007 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02378/2.633, allocations: 18.6 MB / 1.025 GB, free: 135.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007044/2.64, allocations: 2.028 MB / 1.027 GB, free: 133.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002866/2.643, allocations: 249.8 kB / 1.027 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007117/2.651, allocations: 0.5431 MB / 1.028 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001849/2.652, allocations: 0.7457 MB / 1.028 GB, free: 132 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006761/2.653, allocations: 320.8 kB / 1.029 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01076/2.664, allocations: 6.051 MB / 1.034 GB, free: 125.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/2.664, allocations: 0 / 1.034 GB, free: 125.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01184/2.676, allocations: 2.621 MB / 1.037 GB, free: 123 MB / 0.5919 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.002172/2.678, allocations: 497.4 kB / 1.038 GB, free: 122.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03069/2.709, allocations: 16.76 MB / 1.054 GB, free: 105.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 0.0001073/2.709, allocations: 16 kB / 1.054 GB, free: 105.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01027/2.719, allocations: 5.46 MB / 1.059 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01784/2.737, allocations: 1.498 MB / 1.061 GB, free: 98.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04812/2.785, allocations: 24.78 MB / 1.085 GB, free: 72.78 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01331/2.799, allocations: 7.769 MB / 1.092 GB, free: 64.97 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01171/2.81, allocations: 3.57 MB / 1.096 GB, free: 61.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003366/2.814, allocations: 0.636 MB / 1.097 GB, free: 60.76 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/2.814, allocations: 0 / 1.097 GB, free: 60.76 MB / 0.5919 GB Notification: Performance of Templates: time 0.4518/3.266, allocations: 100.9 MB / 1.195 GB, free: 169.7 MB / 0.5919 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