Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, 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.001104/0.001105, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2464/0.2464, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 70.92 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1631, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009765/0.1729, allocations: 7.487 MB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005996/0.179, allocations: 2.357 MB / 489.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.1802, allocations: 23.94 kB / 489.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004219/0.1845, allocations: 1.742 MB / 491.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.1872, allocations: 0.702 MB / 492.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.1892, allocations: 0.7512 MB / 493.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.1911, allocations: 1.241 MB / 494.3 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.1925, allocations: 0.9303 MB / 495.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007386/0.1932, allocations: 0.5059 MB / 495.8 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007086/0.1939, allocations: 0.6653 MB / 496.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.1941, allocations: 107.9 kB / 496.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007555/0.1948, allocations: 295.8 kB / 496.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.195, allocations: 274.9 kB / 497.1 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005147/0.1955, allocations: 0.6102 MB / 497.7 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.1973, allocations: 1.584 MB / 499.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.1974, allocations: 4 kB / 499.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1974, allocations: 0 / 499.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.1974, allocations: 0 / 499.3 MB, free: 1.926 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004221/0.2016, allocations: 1.803 MB / 0.4894 GB, free: 72 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2017, allocations: 8.031 kB / 0.4894 GB, free: 64 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009132/0.2108, allocations: 1.326 MB / 0.4907 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.2121, allocations: 0.5529 MB / 0.4912 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.311e-05/0.2121, allocations: 103 kB / 0.4913 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.2123, allocations: 132.1 kB / 0.4914 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.2145, allocations: 1.246 MB / 0.4926 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/0.2146, allocations: 11.91 kB / 0.4926 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.2147, allocations: 52 kB / 0.4927 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.2148, allocations: 32 kB / 0.4927 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.217, allocations: 1.451 MB / 0.4941 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008212/0.2252, allocations: 5.836 MB / 0.4998 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.2271, allocations: 0.9522 MB / 0.5008 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.2276, allocations: 371.6 kB / 0.5011 GB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.2278, allocations: 179.2 kB / 0.5013 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.2278, allocations: 43.56 kB / 0.5013 GB, free: 3.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 2.415e-06/0.2278, allocations: 0 / 0.5013 GB, free: 3.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002471/0.2303, allocations: 1.206 MB / 0.5025 GB, free: 1.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.2304, allocations: 60.41 kB / 0.5026 GB, free: 1.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.2314, allocations: 0.8286 MB / 0.5034 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/0.2315, allocations: 41.7 kB / 0.5034 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.2318, allocations: 0.4947 MB / 0.5039 GB, free: 452 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.2321, allocations: 307.5 kB / 0.5042 GB, free: 140 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3358/0.5679, allocations: 196.4 kB / 0.5044 GB, free: 40.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004127/0.5684, allocations: 403 kB / 0.5048 GB, free: 39.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.5695, allocations: 351.2 kB / 0.5051 GB, free: 39.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.5706, allocations: 0.6144 MB / 0.5057 GB, free: 39.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.5722, allocations: 0.9943 MB / 0.5067 GB, free: 39.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.5722, allocations: 1.375 kB / 0.5067 GB, free: 39.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002845/0.5751, allocations: 1.178 MB / 0.5078 GB, free: 38.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.5751, allocations: 19.77 kB / 0.5078 GB, free: 38.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.5752, allocations: 12.2 kB / 0.5079 GB, free: 38.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.5755, allocations: 63.06 kB / 0.5079 GB, free: 38.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.5766, allocations: 263.4 kB / 0.5082 GB, free: 38.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.5784, allocations: 2.816 MB / 0.5109 GB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.5795, allocations: 158 kB / 0.5111 GB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-05/0.5796, allocations: 51.44 kB / 0.5111 GB, free: 36.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0004741/0.5801, allocations: 257.5 kB / 0.5114 GB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.5803, allocations: 96.12 kB / 0.5115 GB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.5823, allocations: 1.114 MB / 0.5125 GB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.5823, allocations: 11 kB / 0.5126 GB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5823, allocations: 1.125 kB / 0.5126 GB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.5824, allocations: 4.125 kB / 0.5126 GB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.5864, allocations: 3.154 MB / 0.5156 GB, free: 32.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.5864, allocations: 6.641 kB / 0.5156 GB, free: 32.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007173/0.5871, allocations: 180.8 kB / 0.5158 GB, free: 32.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.5874, allocations: 65.69 kB / 0.5159 GB, free: 32.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/0.5874, allocations: 26.17 kB / 0.5159 GB, free: 32.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.5892, allocations: 2.819 MB / 0.5187 GB, free: 30.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.5892, allocations: 9.938 kB / 0.5187 GB, free: 30.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.5915, allocations: 1.476 MB / 0.5201 GB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003423/0.5919, allocations: 201.8 kB / 0.5203 GB, free: 29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.592, allocations: 25.41 kB / 0.5203 GB, free: 28.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/0.5927, allocations: 57.3 kB / 0.5204 GB, free: 28.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.5929, allocations: 77.53 kB / 0.5205 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.732e-05/0.593, allocations: 33.86 kB / 0.5205 GB, free: 28.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009331/0.5939, allocations: 0.5821 MB / 0.5211 GB, free: 28.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5939, allocations: 0 / 0.5211 GB, free: 28.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001361/0.5953, allocations: 309.2 kB / 0.5214 GB, free: 28.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003373/0.5956, allocations: 169.8 kB / 0.5215 GB, free: 28.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.5981, allocations: 1.123 MB / 0.5226 GB, free: 27.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.5981, allocations: 5.531 kB / 0.5226 GB, free: 27.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009358/0.5991, allocations: 0.6251 MB / 0.5232 GB, free: 27.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.5999, allocations: 121.5 kB / 0.5233 GB, free: 27.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.6033, allocations: 1.873 MB / 0.5252 GB, free: 26.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.604, allocations: 1.015 MB / 0.5262 GB, free: 25.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007252/0.6047, allocations: 152.9 kB / 0.5263 GB, free: 25.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.605, allocations: 80.94 kB / 0.5264 GB, free: 25.61 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.605, allocations: 1.344 kB / 0.5264 GB, free: 25.61 MB / 382.1 MB Notification: Performance of Templates: time 0.02087/0.6259, allocations: 10.73 MB / 0.5369 GB, free: 22.18 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches