Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 107.4 kB / 17.21 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2362/0.2362, allocations: 44.18 MB / 336.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001344, allocations: 72.2 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1473, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02129/0.1687, allocations: 19.4 MB / 487.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.1813, allocations: 4.861 MB / 492.8 MB, free: 6.461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005394/0.1867, allocations: 155.5 kB / 492.9 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01682/0.2036, allocations: 7.375 MB / 0.4886 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00794/0.2116, allocations: 2.035 MB / 0.4906 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004142/0.2157, allocations: 1.162 MB / 0.4917 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2816/0.4973, allocations: 12.43 MB / 0.5038 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03544/0.5328, allocations: 21.84 MB / 0.5252 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01271/0.5456, allocations: 5.71 MB / 0.5307 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0139/0.5595, allocations: 6.963 MB / 0.5375 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005507/0.5651, allocations: 1.229 MB / 0.5387 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007164/0.5722, allocations: 1.419 MB / 0.5401 GB, free: 188 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006559/0.5788, allocations: 3.164 MB / 0.5432 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01316/0.592, allocations: 6.466 MB / 0.5495 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03095/0.623, allocations: 23.09 MB / 0.5721 GB, free: 2.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.6231, allocations: 4 kB / 0.5721 GB, free: 2.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6231, allocations: 0 / 0.5721 GB, free: 2.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008978/0.624, allocations: 0 / 0.5721 GB, free: 2.469 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.05711/0.6811, allocations: 14.56 MB / 0.5863 GB, free: 3.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/0.6812, allocations: 12.03 kB / 0.5863 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06198/0.7432, allocations: 11.43 MB / 0.5975 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02063/0.7639, allocations: 7.086 MB / 0.6044 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001542/0.7655, allocations: 0.8885 MB / 0.6053 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00824/0.7737, allocations: 1.174 MB / 0.6064 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0608/0.8346, allocations: 18.56 MB / 0.6245 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007682/0.8354, allocations: 19.8 kB / 0.6246 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006353/0.8418, allocations: 499.3 kB / 0.625 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008895/0.8427, allocations: 0.6539 MB / 0.6257 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05064/0.8933, allocations: 19.08 MB / 0.6443 GB, free: 8.906 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6378/1.531, allocations: 60.65 MB / 0.7035 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02647/1.558, allocations: 16.61 MB / 0.7197 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008116/1.566, allocations: 4.525 MB / 0.7242 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009679/1.567, allocations: 235.7 kB / 0.7244 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/1.567, allocations: 103.6 kB / 0.7245 GB, free: 138 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 1.386e-05/1.567, allocations: 0 / 0.7245 GB, free: 138 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.02377/1.591, allocations: 12.35 MB / 0.7366 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/1.591, allocations: 122.1 kB / 0.7367 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01711/1.608, allocations: 8.61 MB / 0.7451 GB, free: 134 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001418/1.61, allocations: 132.2 kB / 0.7452 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003846/1.613, allocations: 4.482 MB / 0.7496 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002472/1.616, allocations: 2.191 MB / 0.7517 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004642/1.621, allocations: 1.436 MB / 0.7531 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.386e-05/1.621, allocations: 307.6 kB / 0.7534 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006726/1.627, allocations: 4.102 MB / 0.7574 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008525/1.636, allocations: 6.903 MB / 0.7642 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/1.654, allocations: 11.94 MB / 0.7758 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001694/1.654, allocations: 28.62 kB / 0.7758 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02329/1.677, allocations: 12.01 MB / 0.7876 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/1.678, allocations: 44 kB / 0.7876 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002299/1.678, allocations: 88 kB / 0.7877 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/1.679, allocations: 417.8 kB / 0.7881 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007291/1.686, allocations: 2.001 MB / 0.79 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006996/1.693, allocations: 8.918 MB / 0.7988 GB, free: 91.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01233/1.706, allocations: 1.358 MB / 0.8001 GB, free: 90.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002774/1.708, allocations: 372 kB / 0.8004 GB, free: 89.65 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.01793/1.726, allocations: 4.578 MB / 0.8049 GB, free: 85.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003936/1.73, allocations: 0.7059 MB / 0.8056 GB, free: 84.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03167/1.762, allocations: 10.61 MB / 0.816 GB, free: 73.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.599e-05/1.762, allocations: 64 kB / 0.816 GB, free: 73.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.403e-05/1.762, allocations: 7.984 kB / 0.816 GB, free: 73.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001219/1.762, allocations: 31.88 kB / 0.8161 GB, free: 73.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5798/2.342, allocations: 156.6 MB / 0.969 GB, free: 162.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003394/2.343, allocations: 84.59 kB / 0.9691 GB, free: 162.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005928/2.348, allocations: 1.542 MB / 0.9706 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/2.35, allocations: 390.4 kB / 0.9709 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001493/2.351, allocations: 245.9 kB / 0.9712 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006735/2.358, allocations: 8.802 MB / 0.9798 GB, free: 153.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.528e-05/2.358, allocations: 131.4 kB / 0.9799 GB, free: 153.8 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02731/2.385, allocations: 18.52 MB / 0.998 GB, free: 134.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005758/2.391, allocations: 2.014 MB / 1 GB, free: 133.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003219/2.394, allocations: 239.9 kB / 1 GB, free: 132.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006554/2.401, allocations: 0.5541 MB / 1.001 GB, free: 132.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001697/2.403, allocations: 0.734 MB / 1.001 GB, free: 131.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001091/2.404, allocations: 308 kB / 1.002 GB, free: 131.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01132/2.415, allocations: 6.047 MB / 1.008 GB, free: 125.2 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.51e-07/2.415, allocations: 0 / 1.008 GB, free: 125.2 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01218/2.427, allocations: 2.621 MB / 1.01 GB, free: 122.6 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.002466/2.43, allocations: 0.4909 MB / 1.011 GB, free: 122.1 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02105/2.451, allocations: 10.37 MB / 1.021 GB, free: 111.7 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 0.0001203/2.451, allocations: 20.19 kB / 1.021 GB, free: 111.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009335/2.46, allocations: 5.441 MB / 1.026 GB, free: 106.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01562/2.476, allocations: 1.445 MB / 1.028 GB, free: 104.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05378/2.53, allocations: 29.02 MB / 1.056 GB, free: 74.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01799/2.548, allocations: 7.773 MB / 1.063 GB, free: 66.69 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01256/2.56, allocations: 3.566 MB / 1.067 GB, free: 63.11 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003416/2.564, allocations: 0.5837 MB / 1.068 GB, free: 62.53 MB / 0.5607 GB Notification: Performance of SimCode: time 7.82e-07/2.564, allocations: 4 kB / 1.068 GB, free: 62.52 MB / 0.5607 GB Notification: Performance of Templates: time 0.4888/3.053, allocations: 100.2 MB / 1.165 GB, free: 146.5 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches