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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 113.4 kB / 16.41 MB, free: 6.445 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.001302/0.001302, allocations: 187.2 kB / 17.34 MB, free: 5.738 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.334/1.334, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.1944/0.1944, allocations: 43.51 MB / 314.1 MB, free: 484 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.001962/0.001962, allocations: 63.91 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.1009, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008015/0.1089, allocations: 6.917 MB / 0.4942 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004085/0.1131, allocations: 2.19 MB / 0.4963 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005345/0.1136, allocations: 27.88 kB / 0.4963 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003334/0.117, allocations: 1.524 MB / 0.4978 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.1193, allocations: 0.8548 MB / 0.4986 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.1206, allocations: 0.5803 MB / 0.4992 GB, free: 172 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.122, allocations: 1.19 MB / 0.5004 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.1231, allocations: 0.8159 MB / 0.5012 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000597/0.1237, allocations: 490 kB / 0.5016 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006775/0.1244, allocations: 0.6147 MB / 0.5022 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.1246, allocations: 96 kB / 0.5023 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.1252, allocations: 283.8 kB / 0.5026 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.1254, allocations: 255 kB / 0.5028 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.126, allocations: 0.5674 MB / 0.5034 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.1276, allocations: 1.482 MB / 0.5048 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1276, allocations: 0 / 0.5048 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1277, allocations: 3.938 kB / 0.5048 GB, free: 10.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.1277, allocations: 0 / 0.5048 GB, free: 10.35 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.003983/0.1317, allocations: 1.743 MB / 0.5066 GB, free: 8.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1317, allocations: 11.89 kB / 0.5066 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002013/0.1319, allocations: 182.1 kB / 0.5067 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.142, allocations: 1.428 MB / 0.5081 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009578/0.143, allocations: 0.5522 MB / 0.5087 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.453e-05/0.1431, allocations: 90.48 kB / 0.5088 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.1433, allocations: 124 kB / 0.5089 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.1454, allocations: 1.189 MB / 0.51 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.1454, allocations: 3.953 kB / 0.51 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.1455, allocations: 52 kB / 0.5101 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.1456, allocations: 28 kB / 0.5101 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.148, allocations: 1.435 MB / 0.5115 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007487/0.1555, allocations: 4.827 MB / 0.5162 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.1575, allocations: 1.198 MB / 0.5174 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.1581, allocations: 372.2 kB / 0.5178 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.1582, allocations: 102.1 kB / 0.5179 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.1583, allocations: 51.5 kB / 0.5179 GB, free: 12.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.675e-06/0.1583, allocations: 0 / 0.5179 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002276/0.1606, allocations: 1.203 MB / 0.5191 GB, free: 11.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1606, allocations: 72.28 kB / 0.5191 GB, free: 11.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/0.1616, allocations: 0.7934 MB / 0.5199 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.1617, allocations: 41.7 kB / 0.52 GB, free: 10.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.162, allocations: 492.1 kB / 0.5204 GB, free: 9.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.1623, allocations: 325.2 kB / 0.5207 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/0.1626, allocations: 206.8 kB / 0.5209 GB, free: 9.227 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1628, allocations: 390.7 kB / 0.5213 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000649/0.1635, allocations: 346.5 kB / 0.5216 GB, free: 8.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/0.1643, allocations: 0.6062 MB / 0.5222 GB, free: 7.777 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.1658, allocations: 0.9711 MB / 0.5232 GB, free: 6.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.1659, allocations: 8 kB / 0.5232 GB, free: 6.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002146/0.168, allocations: 1.174 MB / 0.5243 GB, free: 5.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.168, allocations: 8.844 kB / 0.5243 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.1681, allocations: 8 kB / 0.5244 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002915/0.1684, allocations: 69.67 kB / 0.5244 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009864/0.1694, allocations: 263.6 kB / 0.5247 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.1717, allocations: 2.828 MB / 0.5274 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008933/0.1726, allocations: 154.9 kB / 0.5276 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/0.1727, allocations: 52 kB / 0.5276 GB, free: 1.84 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.0003886/0.1731, allocations: 261.3 kB / 0.5279 GB, free: 1.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.1732, allocations: 99.38 kB / 0.528 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.1752, allocations: 1.103 MB / 0.529 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.1752, allocations: 8 kB / 0.5291 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1752, allocations: 3.938 kB / 0.5291 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.1752, allocations: 11.97 kB / 0.5291 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1884/0.3637, allocations: 2.719 MB / 0.5317 GB, free: 37.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.3637, allocations: 6.156 kB / 0.5317 GB, free: 37.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006985/0.3644, allocations: 182.6 kB / 0.5319 GB, free: 37.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.3646, allocations: 61.7 kB / 0.532 GB, free: 37.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.3647, allocations: 24.83 kB / 0.532 GB, free: 37.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.3661, allocations: 2.826 MB / 0.5347 GB, free: 35.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.3661, allocations: 7.281 kB / 0.5348 GB, free: 35.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.3681, allocations: 1.482 MB / 0.5362 GB, free: 34.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.3683, allocations: 206.6 kB / 0.5364 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.3684, allocations: 24.56 kB / 0.5364 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006189/0.369, allocations: 53.17 kB / 0.5365 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.3692, allocations: 96.66 kB / 0.5366 GB, free: 34.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.3693, allocations: 34.08 kB / 0.5366 GB, free: 34.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006811/0.37, allocations: 0.5609 MB / 0.5371 GB, free: 34.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.37, allocations: 0 / 0.5371 GB, free: 34.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008582/0.3708, allocations: 293.5 kB / 0.5374 GB, free: 34.39 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.002157/0.373, allocations: 2.091 MB / 0.5395 GB, free: 33.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.3747, allocations: 1.096 MB / 0.5405 GB, free: 32.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3747, allocations: 1.156 kB / 0.5405 GB, free: 32.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008094/0.3755, allocations: 0.6336 MB / 0.5412 GB, free: 32.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/0.3763, allocations: 113.8 kB / 0.5413 GB, free: 32.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.387, allocations: 8.315 MB / 0.5494 GB, free: 27.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.3876, allocations: 0.9994 MB / 0.5504 GB, free: 26.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006187/0.3882, allocations: 149.3 kB / 0.5505 GB, free: 26.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000443/0.3887, allocations: 365.2 kB / 0.5509 GB, free: 26.3 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3887, allocations: 0 / 0.5509 GB, free: 26.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.371/2.76, allocations: 19.15 MB / 0.5696 GB, free: 16.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/15.67, allocations: 0 / 0.5696 GB, free: 16.66 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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