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.001454/0.001455, allocations: 107.4 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.001536/0.001536, allocations: 188.1 kB / 17.34 MB, free: 5.766 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.424/1.424, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.203/0.203, allocations: 43.52 MB / 314.1 MB, free: 460 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.001399/0.001399, allocations: 63.91 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1243, allocations: 57.8 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007695/0.132, allocations: 6.917 MB / 0.4946 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004148/0.1362, allocations: 2.198 MB / 0.4968 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005836/0.1368, allocations: 23.94 kB / 0.4968 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003193/0.1401, allocations: 1.52 MB / 0.4983 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.142, allocations: 0.851 MB / 0.4991 GB, free: 252 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1432, allocations: 0.5842 MB / 0.4997 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.1444, allocations: 1.19 MB / 0.5009 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.1455, allocations: 0.812 MB / 0.5016 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005781/0.1461, allocations: 494 kB / 0.5021 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005746/0.1467, allocations: 0.6108 MB / 0.5027 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.1468, allocations: 100 kB / 0.5028 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.1474, allocations: 287.8 kB / 0.5031 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.1476, allocations: 258.9 kB / 0.5033 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.148, allocations: 0.5674 MB / 0.5039 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.1494, allocations: 1.471 MB / 0.5053 GB, free: 9.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1494, allocations: 0 / 0.5053 GB, free: 9.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1494, allocations: 0 / 0.5053 GB, free: 9.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.1494, allocations: 0 / 0.5053 GB, free: 9.852 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.003822/0.1533, allocations: 1.709 MB / 0.507 GB, free: 8.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1533, allocations: 11.89 kB / 0.507 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.1634, allocations: 1.432 MB / 0.5084 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.1646, allocations: 0.5482 MB / 0.5089 GB, free: 6.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-05/0.1647, allocations: 90.48 kB / 0.509 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.1649, allocations: 124 kB / 0.5091 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.1674, allocations: 1.181 MB / 0.5103 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.1675, allocations: 11.94 kB / 0.5103 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.1676, allocations: 52 kB / 0.5104 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.1676, allocations: 32 kB / 0.5104 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/0.1701, allocations: 1.435 MB / 0.5118 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00791/0.1781, allocations: 4.808 MB / 0.5165 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.1801, allocations: 1.202 MB / 0.5177 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/0.1808, allocations: 371.7 kB / 0.518 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.1809, allocations: 102.1 kB / 0.5181 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.181, allocations: 47.56 kB / 0.5182 GB, free: 12.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.036e-06/0.181, allocations: 0 / 0.5182 GB, free: 12.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002466/0.1835, allocations: 1.202 MB / 0.5193 GB, free: 10.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.1836, allocations: 60.41 kB / 0.5194 GB, free: 10.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.1847, allocations: 0.7973 MB / 0.5202 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.1847, allocations: 41.64 kB / 0.5202 GB, free: 9.992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.1851, allocations: 486.7 kB / 0.5207 GB, free: 9.508 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.1853, allocations: 311.5 kB / 0.521 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.1856, allocations: 190.8 kB / 0.5211 GB, free: 9.008 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1858, allocations: 398.7 kB / 0.5215 GB, free: 8.609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006473/0.1865, allocations: 354.4 kB / 0.5219 GB, free: 8.262 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00088/0.1874, allocations: 0.6023 MB / 0.5225 GB, free: 7.547 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.1889, allocations: 0.975 MB / 0.5234 GB, free: 6.465 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/0.1889, allocations: 0 / 0.5234 GB, free: 6.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002187/0.1911, allocations: 1.178 MB / 0.5246 GB, free: 5.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.1912, allocations: 8 kB / 0.5246 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.1912, allocations: 8 kB / 0.5246 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/0.1915, allocations: 70.08 kB / 0.5246 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.1926, allocations: 255.6 kB / 0.5249 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.1948, allocations: 2.832 MB / 0.5276 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009489/0.1957, allocations: 154.3 kB / 0.5278 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.1959, allocations: 44 kB / 0.5278 GB, free: 1.621 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.0004464/0.1963, allocations: 265.5 kB / 0.5281 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.1965, allocations: 90.88 kB / 0.5282 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.1984, allocations: 1.103 MB / 0.5293 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.1984, allocations: 8 kB / 0.5293 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1984, allocations: 4 kB / 0.5293 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.1984, allocations: 11.91 kB / 0.5293 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2263/0.4248, allocations: 2.714 MB / 0.5319 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.4248, allocations: 11.66 kB / 0.5319 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007205/0.4255, allocations: 177.3 kB / 0.5321 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.4258, allocations: 59.28 kB / 0.5322 GB, free: 37.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.4258, allocations: 28.38 kB / 0.5322 GB, free: 37.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.4274, allocations: 2.828 MB / 0.535 GB, free: 35.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.4274, allocations: 6.062 kB / 0.535 GB, free: 35.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.4296, allocations: 1.481 MB / 0.5364 GB, free: 34.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.4299, allocations: 201.3 kB / 0.5366 GB, free: 34.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.43, allocations: 22.69 kB / 0.5366 GB, free: 34.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.4306, allocations: 55.03 kB / 0.5367 GB, free: 34.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.4308, allocations: 79.44 kB / 0.5367 GB, free: 34.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/0.4309, allocations: 42.58 kB / 0.5368 GB, free: 34.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000741/0.4316, allocations: 0.5616 MB / 0.5373 GB, free: 34.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4316, allocations: 0 / 0.5373 GB, free: 34.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009336/0.4326, allocations: 294.7 kB / 0.5376 GB, free: 34.47 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.0002902/0.4329, allocations: 163.6 kB / 0.5378 GB, free: 34.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.4347, allocations: 1.104 MB / 0.5388 GB, free: 33.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4347, allocations: 1.875 kB / 0.5389 GB, free: 33.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008451/0.4355, allocations: 0.6228 MB / 0.5395 GB, free: 33.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007366/0.4363, allocations: 121.8 kB / 0.5396 GB, free: 33.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.4391, allocations: 1.821 MB / 0.5414 GB, free: 32.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.4396, allocations: 0.9991 MB / 0.5423 GB, free: 31.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000557/0.4402, allocations: 152.2 kB / 0.5425 GB, free: 31.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.4405, allocations: 82.55 kB / 0.5426 GB, free: 31.68 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4405, allocations: 0 / 0.5426 GB, free: 31.68 MB / 414.1 MB Notification: Performance of Templates: time 0.01981/0.4603, allocations: 10.56 MB / 0.5529 GB, free: 29.79 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