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.001109/0.001109, allocations: 107.5 kB / 16.41 MB, free: 5.973 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.001404/0.001404, allocations: 190.6 kB / 17.34 MB, free: 5.582 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.68/1.68, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2612/0.2612, allocations: 43.52 MB / 314.1 MB, free: 444 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.001406/0.001407, allocations: 71.89 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1545, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009078/0.1636, allocations: 6.924 MB / 0.4946 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005315/0.169, allocations: 2.186 MB / 0.4968 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.1704, allocations: 27.94 kB / 0.4968 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004045/0.1746, allocations: 1.528 MB / 0.4983 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.1778, allocations: 0.8548 MB / 0.4991 GB, free: 220 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.1796, allocations: 0.5841 MB / 0.4997 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002352/0.1819, allocations: 1.19 MB / 0.5009 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.1841, allocations: 0.812 MB / 0.5017 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.1857, allocations: 486 kB / 0.5021 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.1874, allocations: 0.6225 MB / 0.5027 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.1876, allocations: 96 kB / 0.5028 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.1889, allocations: 283.8 kB / 0.5031 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.1891, allocations: 255 kB / 0.5033 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006244/0.1897, allocations: 0.5674 MB / 0.5039 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002/0.1917, allocations: 1.482 MB / 0.5053 GB, free: 9.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1918, allocations: 0 / 0.5053 GB, free: 9.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1918, allocations: 3.938 kB / 0.5053 GB, free: 9.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.1918, allocations: 0 / 0.5053 GB, free: 9.812 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.004453/0.1963, allocations: 1.735 MB / 0.507 GB, free: 8.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.125e-05/0.1963, allocations: 11.89 kB / 0.507 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009651/0.206, allocations: 1.428 MB / 0.5084 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.2072, allocations: 0.5524 MB / 0.509 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.2073, allocations: 94.48 kB / 0.5091 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.2075, allocations: 120 kB / 0.5092 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.2097, allocations: 1.189 MB / 0.5103 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/0.2098, allocations: 7.953 kB / 0.5103 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.2099, allocations: 52 kB / 0.5104 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.2099, allocations: 28 kB / 0.5104 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.2123, allocations: 1.439 MB / 0.5118 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0078/0.2201, allocations: 4.817 MB / 0.5165 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.2221, allocations: 1.202 MB / 0.5177 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/0.2227, allocations: 363.8 kB / 0.5181 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.2229, allocations: 106.1 kB / 0.5182 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/0.2229, allocations: 51.55 kB / 0.5182 GB, free: 12.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.737e-06/0.2229, allocations: 0 / 0.5182 GB, free: 12.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002339/0.2253, allocations: 1.203 MB / 0.5194 GB, free: 10.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.2254, allocations: 60.41 kB / 0.5194 GB, free: 10.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009704/0.2263, allocations: 0.8012 MB / 0.5202 GB, free: 9.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.2264, allocations: 45.64 kB / 0.5203 GB, free: 9.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.2268, allocations: 492.1 kB / 0.5207 GB, free: 9.414 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.227, allocations: 329.2 kB / 0.521 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.2273, allocations: 202.8 kB / 0.5212 GB, free: 8.887 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2275, allocations: 394.7 kB / 0.5216 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/0.2281, allocations: 346.5 kB / 0.5219 GB, free: 8.152 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007742/0.2289, allocations: 0.6024 MB / 0.5225 GB, free: 7.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.2303, allocations: 0.9749 MB / 0.5235 GB, free: 6.355 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2303, allocations: 0 / 0.5235 GB, free: 6.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001882/0.2322, allocations: 1.186 MB / 0.5246 GB, free: 5.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.2322, allocations: 8 kB / 0.5247 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2323, allocations: 8 kB / 0.5247 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/0.2325, allocations: 70.23 kB / 0.5247 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009184/0.2335, allocations: 259.6 kB / 0.525 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.2357, allocations: 2.828 MB / 0.5277 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008419/0.2366, allocations: 150.8 kB / 0.5279 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/0.2367, allocations: 47.98 kB / 0.5279 GB, free: 1.504 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.0003872/0.2371, allocations: 261.5 kB / 0.5282 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.2372, allocations: 99.39 kB / 0.5283 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.239, allocations: 1.103 MB / 0.5293 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3208/0.5599, allocations: 15.58 kB / 0.5294 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.5599, allocations: 0 / 0.5294 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.019e-05/0.56, allocations: 8.594 kB / 0.5294 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.5639, allocations: 2.721 MB / 0.532 GB, free: 37.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.5639, allocations: 10.39 kB / 0.532 GB, free: 37.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/0.5646, allocations: 183.6 kB / 0.5322 GB, free: 37.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/0.5648, allocations: 64.14 kB / 0.5323 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.5649, allocations: 24.02 kB / 0.5323 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.5664, allocations: 2.826 MB / 0.5351 GB, free: 35.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.5664, allocations: 6.031 kB / 0.5351 GB, free: 35.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.5685, allocations: 1.483 MB / 0.5365 GB, free: 34.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.5687, allocations: 200 kB / 0.5367 GB, free: 34.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.5689, allocations: 30.8 kB / 0.5367 GB, free: 34.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/0.5695, allocations: 53.3 kB / 0.5368 GB, free: 34.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.5696, allocations: 88.3 kB / 0.5369 GB, free: 34.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.5697, allocations: 33.72 kB / 0.5369 GB, free: 34.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007752/0.5705, allocations: 0.5646 MB / 0.5375 GB, free: 34.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5705, allocations: 0 / 0.5375 GB, free: 34.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009492/0.5715, allocations: 294.1 kB / 0.5377 GB, free: 34.48 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.0002777/0.5717, allocations: 167.5 kB / 0.5379 GB, free: 34.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.5735, allocations: 1.098 MB / 0.539 GB, free: 33.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.5736, allocations: 1.688 kB / 0.539 GB, free: 33.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.5744, allocations: 0.6224 MB / 0.5396 GB, free: 33.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.5751, allocations: 125.3 kB / 0.5397 GB, free: 33.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.578, allocations: 1.835 MB / 0.5415 GB, free: 32.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.5786, allocations: 0.998 MB / 0.5425 GB, free: 31.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005444/0.5791, allocations: 154.9 kB / 0.5426 GB, free: 31.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.5794, allocations: 81.8 kB / 0.5427 GB, free: 31.68 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5794, allocations: 0 / 0.5427 GB, free: 31.68 MB / 414.1 MB Notification: Performance of Templates: time 0.02264/0.602, allocations: 10.57 MB / 0.553 GB, free: 29.78 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