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.001292/0.001292, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 75.89 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1356, allocations: 62.44 MB / 481.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008301/0.1439, allocations: 7.486 MB / 488.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004198/0.1481, allocations: 2.361 MB / 491.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.1492, allocations: 24 kB / 491.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004152/0.1534, allocations: 1.749 MB / 493.1 MB, free: 8.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.1562, allocations: 0.7029 MB / 493.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.158, allocations: 0.7349 MB / 494.5 MB, free: 7.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001906/0.1599, allocations: 1.257 MB / 495.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.1617, allocations: 0.93 MB / 496.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008549/0.1626, allocations: 0.5136 MB / 497.2 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006434/0.1632, allocations: 0.6692 MB / 497.9 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.1634, allocations: 104 kB / 498 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00083/0.1643, allocations: 291.8 kB / 498.3 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.1645, allocations: 275 kB / 498.5 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.1651, allocations: 0.6101 MB / 499.1 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.1671, allocations: 1.6 MB / 0.489 GB, free: 1.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1671, allocations: 0 / 0.489 GB, free: 1.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1671, allocations: 0 / 0.489 GB, free: 1.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.1672, allocations: 4 kB / 0.489 GB, free: 1.18 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.004628/0.1718, allocations: 1.803 MB / 0.4908 GB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1719, allocations: 8.031 kB / 0.4908 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009203/0.1811, allocations: 1.334 MB / 0.4921 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.1824, allocations: 0.5646 MB / 0.4926 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.016e-05/0.1825, allocations: 99.03 kB / 0.4927 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.1827, allocations: 132.1 kB / 0.4929 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.1849, allocations: 1.242 MB / 0.4941 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.185, allocations: 15.88 kB / 0.4941 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.1851, allocations: 56 kB / 0.4941 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.1851, allocations: 32 kB / 0.4942 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.1875, allocations: 1.443 MB / 0.4956 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007712/0.1952, allocations: 5.797 MB / 0.5012 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.1969, allocations: 0.945 MB / 0.5022 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.1975, allocations: 367.7 kB / 0.5025 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.1977, allocations: 195.2 kB / 0.5027 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1977, allocations: 39.56 kB / 0.5027 GB, free: 2.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 2.465e-06/0.1977, allocations: 0 / 0.5027 GB, free: 2.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002134/0.1999, allocations: 1.21 MB / 0.5039 GB, free: 1.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.1999, allocations: 60.41 kB / 0.504 GB, free: 1.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009464/0.2009, allocations: 0.8208 MB / 0.5048 GB, free: 284 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.201, allocations: 41.7 kB / 0.5048 GB, free: 236 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2031/0.404, allocations: 499.4 kB / 0.5053 GB, free: 40.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/0.4044, allocations: 309.7 kB / 0.5056 GB, free: 40.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003799/0.4048, allocations: 198.5 kB / 0.5058 GB, free: 40.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.405, allocations: 404.1 kB / 0.5062 GB, free: 39.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/0.4057, allocations: 343.5 kB / 0.5065 GB, free: 39.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/0.4064, allocations: 0.6203 MB / 0.5071 GB, free: 39.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.4078, allocations: 0.9884 MB / 0.5081 GB, free: 39.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-06/0.4078, allocations: 2.75 kB / 0.5081 GB, free: 39.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002068/0.4099, allocations: 1.179 MB / 0.5092 GB, free: 38.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.41, allocations: 15.53 kB / 0.5092 GB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.41, allocations: 7.938 kB / 0.5092 GB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002927/0.4103, allocations: 68.98 kB / 0.5093 GB, free: 38.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009791/0.4113, allocations: 266.8 kB / 0.5096 GB, free: 38.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.4129, allocations: 2.824 MB / 0.5123 GB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008325/0.4137, allocations: 156 kB / 0.5125 GB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/0.4138, allocations: 47.5 kB / 0.5125 GB, free: 35.66 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.0003581/0.4142, allocations: 262.6 kB / 0.5128 GB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.4143, allocations: 100.2 kB / 0.5129 GB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.4161, allocations: 1.108 MB / 0.5139 GB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4161, allocations: 9.188 kB / 0.5139 GB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4161, allocations: 1.094 kB / 0.5139 GB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.4162, allocations: 6.188 kB / 0.514 GB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00368/0.4198, allocations: 3.158 MB / 0.517 GB, free: 32.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.4199, allocations: 3.562 kB / 0.517 GB, free: 32.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006762/0.4206, allocations: 181.1 kB / 0.5172 GB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.4208, allocations: 63.48 kB / 0.5173 GB, free: 32.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.4208, allocations: 25.39 kB / 0.5173 GB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.4222, allocations: 2.826 MB / 0.5201 GB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.4223, allocations: 6.875 kB / 0.5201 GB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.4243, allocations: 1.47 MB / 0.5215 GB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.4245, allocations: 200.8 kB / 0.5217 GB, free: 28.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.4247, allocations: 37.62 kB / 0.5217 GB, free: 28.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/0.4253, allocations: 57.39 kB / 0.5218 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.4255, allocations: 80.17 kB / 0.5219 GB, free: 28.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.4255, allocations: 35.05 kB / 0.5219 GB, free: 28.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008173/0.4264, allocations: 0.5783 MB / 0.5225 GB, free: 28.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4264, allocations: 0.5312 kB / 0.5225 GB, free: 28.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001243/0.4276, allocations: 301.9 kB / 0.5227 GB, free: 28.24 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.0002844/0.4279, allocations: 170.6 kB / 0.5229 GB, free: 28.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.4298, allocations: 1.099 MB / 0.524 GB, free: 27.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4298, allocations: 1.156 kB / 0.524 GB, free: 27.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008485/0.4307, allocations: 0.621 MB / 0.5246 GB, free: 27.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008426/0.4315, allocations: 122.7 kB / 0.5247 GB, free: 27.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.4344, allocations: 1.853 MB / 0.5265 GB, free: 26.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.435, allocations: 1.014 MB / 0.5275 GB, free: 25.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00067/0.4357, allocations: 154 kB / 0.5277 GB, free: 25.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.4359, allocations: 80.52 kB / 0.5277 GB, free: 25.27 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4359, allocations: 4 kB / 0.5277 GB, free: 25.26 MB / 382.1 MB Notification: Performance of Templates: time 0.01943/0.4554, allocations: 10.58 MB / 0.5381 GB, free: 21.7 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches