Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 111.2 kB / 16.41 MB, free: 6.488 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.001065/0.001065, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2087/0.2087, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.91 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1308, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008123/0.1389, allocations: 6.913 MB / 0.4946 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005764/0.1447, allocations: 2.194 MB / 0.4968 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008878/0.1457, allocations: 20 kB / 0.4968 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003442/0.1492, allocations: 1.532 MB / 0.4983 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.1517, allocations: 0.8665 MB / 0.4991 GB, free: 228 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.1531, allocations: 0.5764 MB / 0.4997 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.1545, allocations: 1.19 MB / 0.5009 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.1557, allocations: 0.8081 MB / 0.5017 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005844/0.1563, allocations: 490 kB / 0.5021 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/0.157, allocations: 0.6224 MB / 0.5027 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.1571, allocations: 96 kB / 0.5028 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006088/0.1577, allocations: 287.7 kB / 0.5031 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.158, allocations: 255 kB / 0.5033 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004793/0.1584, allocations: 0.5713 MB / 0.5039 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.16, allocations: 1.468 MB / 0.5053 GB, free: 9.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.16, allocations: 4 kB / 0.5053 GB, free: 9.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.16, allocations: 3.984 kB / 0.5053 GB, free: 9.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.1601, allocations: 0 / 0.5053 GB, free: 9.832 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.0042/0.1643, allocations: 1.705 MB / 0.507 GB, free: 8.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.1643, allocations: 11.89 kB / 0.507 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009818/0.1741, allocations: 1.424 MB / 0.5084 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.176, allocations: 0.556 MB / 0.5089 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.1762, allocations: 94.42 kB / 0.509 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004885/0.1767, allocations: 120 kB / 0.5091 GB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/0.1798, allocations: 1.185 MB / 0.5103 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.044e-05/0.1798, allocations: 0 / 0.5103 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.18, allocations: 56 kB / 0.5104 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.18, allocations: 28 kB / 0.5104 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.1828, allocations: 1.435 MB / 0.5118 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008504/0.1913, allocations: 4.804 MB / 0.5165 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.1933, allocations: 1.21 MB / 0.5177 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/0.1939, allocations: 367.7 kB / 0.518 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.194, allocations: 110 kB / 0.5181 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.1941, allocations: 43.56 kB / 0.5182 GB, free: 12.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.006e-06/0.1941, allocations: 0 / 0.5182 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002387/0.1965, allocations: 1.198 MB / 0.5193 GB, free: 10.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1965, allocations: 68.41 kB / 0.5194 GB, free: 10.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1976, allocations: 0.7934 MB / 0.5202 GB, free: 10.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/0.1977, allocations: 41.7 kB / 0.5202 GB, free: 9.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.1981, allocations: 482.7 kB / 0.5207 GB, free: 9.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.1984, allocations: 315.5 kB / 0.521 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.1987, allocations: 198.8 kB / 0.5212 GB, free: 8.988 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.1989, allocations: 394.7 kB / 0.5215 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006043/0.1995, allocations: 346.5 kB / 0.5219 GB, free: 8.254 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008279/0.2003, allocations: 0.5984 MB / 0.5224 GB, free: 7.543 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.2018, allocations: 0.9788 MB / 0.5234 GB, free: 6.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.2018, allocations: 4 kB / 0.5234 GB, free: 6.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002126/0.2039, allocations: 1.174 MB / 0.5246 GB, free: 5.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.204, allocations: 8 kB / 0.5246 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.204, allocations: 8 kB / 0.5246 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.2043, allocations: 73.98 kB / 0.5246 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009703/0.2053, allocations: 263.6 kB / 0.5249 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.2076, allocations: 2.828 MB / 0.5277 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009023/0.2086, allocations: 142.3 kB / 0.5278 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/0.2086, allocations: 55.98 kB / 0.5278 GB, free: 1.605 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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.0004668/0.2091, allocations: 257.5 kB / 0.5281 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.2093, allocations: 94.88 kB / 0.5282 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.2111, allocations: 1.099 MB / 0.5293 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.2112, allocations: 8 kB / 0.5293 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2112, allocations: 7.984 kB / 0.5293 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.2112, allocations: 11.92 kB / 0.5293 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3031/0.5143, allocations: 2.718 MB / 0.5319 GB, free: 37.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.5144, allocations: 5.031 kB / 0.5319 GB, free: 37.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007383/0.5151, allocations: 181.8 kB / 0.5321 GB, free: 37.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002221/0.5154, allocations: 66.39 kB / 0.5322 GB, free: 37.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.5154, allocations: 25.52 kB / 0.5322 GB, free: 37.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.517, allocations: 2.819 MB / 0.5349 GB, free: 35.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.517, allocations: 11.06 kB / 0.535 GB, free: 35.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.5191, allocations: 1.478 MB / 0.5364 GB, free: 34.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.5195, allocations: 200.7 kB / 0.5366 GB, free: 34.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.5196, allocations: 25.11 kB / 0.5366 GB, free: 34.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/0.5202, allocations: 54.31 kB / 0.5367 GB, free: 34.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.5204, allocations: 76.33 kB / 0.5367 GB, free: 34.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.496e-05/0.5205, allocations: 45.17 kB / 0.5368 GB, free: 34.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007882/0.5213, allocations: 0.5617 MB / 0.5373 GB, free: 34.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.5213, allocations: 0 / 0.5373 GB, free: 34.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001305/0.5226, allocations: 300.8 kB / 0.5376 GB, free: 34.43 MB / 414.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 (94): * Single equations (assignments): 92 * 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.0002733/0.5229, allocations: 163.9 kB / 0.5378 GB, free: 34.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.5247, allocations: 1.102 MB / 0.5389 GB, free: 33.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5248, allocations: 1.938 kB / 0.5389 GB, free: 33.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008286/0.5256, allocations: 0.6263 MB / 0.5395 GB, free: 33.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.5264, allocations: 113.8 kB / 0.5396 GB, free: 33.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.5295, allocations: 1.814 MB / 0.5413 GB, free: 32.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.53, allocations: 0.9943 MB / 0.5423 GB, free: 31.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005627/0.5306, allocations: 153.4 kB / 0.5425 GB, free: 31.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.5308, allocations: 84.72 kB / 0.5425 GB, free: 31.64 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5309, allocations: 0 / 0.5425 GB, free: 31.64 MB / 414.1 MB Notification: Performance of Templates: time 0.02391/0.5548, allocations: 10.56 MB / 0.5529 GB, free: 29.75 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches