Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_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.0009206/0.0009206, allocations: 95.67 kB / 17.35 MB, free: 6.344 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.0008593/0.0008593, allocations: 168.7 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1668/0.1668, allocations: 44.25 MB / 337.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.000276, allocations: 8 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09802, allocations: 61.93 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005898/0.104, allocations: 6.369 MB / 478.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.1073, allocations: 2.172 MB / 480.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.1076, allocations: 23.94 kB / 480.9 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.1082, allocations: 318.6 kB / 481.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.1097, allocations: 0.7498 MB / 482 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.1107, allocations: 0.5409 MB / 482.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009063/0.1116, allocations: 1.101 MB / 483.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.1138, allocations: 1.433 MB / 485 MB, free: 444 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004153/0.1142, allocations: 406.2 kB / 485.4 MB, free: 36 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004825/0.1147, allocations: 0.5326 MB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.787e-05/0.1148, allocations: 52 kB / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004401/0.1153, allocations: 231.8 kB / 486.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.1154, allocations: 191 kB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.1158, allocations: 0.5261 MB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.1169, allocations: 1.366 MB / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1169, allocations: 0 / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1169, allocations: 0 / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.1169, allocations: 0 / 488.3 MB, free: 13.13 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003414/0.1203, allocations: 1.466 MB / 489.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1204, allocations: 8.031 kB / 489.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.1206, allocations: 185.8 kB / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009351/0.1299, allocations: 1.334 MB / 491.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/0.1307, allocations: 0.5294 MB / 491.9 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-05/0.1307, allocations: 86.41 kB / 491.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.1309, allocations: 123.9 kB / 492.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.1328, allocations: 1.145 MB / 493.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.1329, allocations: 4 kB / 493.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.133, allocations: 59.98 kB / 493.3 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.133, allocations: 28 kB / 493.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.1351, allocations: 1.376 MB / 494.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006477/0.1416, allocations: 4.707 MB / 499.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.1433, allocations: 0.9264 MB / 0.4886 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005486/0.1438, allocations: 379.6 kB / 0.4889 GB, free: 332 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.81e-05/0.1439, allocations: 102.1 kB / 0.489 GB, free: 212 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.144, allocations: 43.56 kB / 0.4891 GB, free: 160 kB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.495e-06/0.144, allocations: 0 / 0.4891 GB, free: 160 kB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.002059/0.146, allocations: 1.21 MB / 0.4903 GB, free: 14.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.1461, allocations: 64.41 kB / 0.4903 GB, free: 14.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008496/0.1469, allocations: 0.7777 MB / 0.4911 GB, free: 14.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.147, allocations: 41.7 kB / 0.4911 GB, free: 13.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.1473, allocations: 458.9 kB / 0.4916 GB, free: 13.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.1475, allocations: 307.6 kB / 0.4919 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1476, allocations: 81.67 kB / 0.4919 GB, free: 13.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1477, allocations: 398.7 kB / 0.4923 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.1483, allocations: 338.5 kB / 0.4926 GB, free: 12.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007243/0.1491, allocations: 0.5739 MB / 0.4932 GB, free: 11.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.1504, allocations: 0.9309 MB / 0.4941 GB, free: 10.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1504, allocations: 4 kB / 0.4941 GB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001821/0.1522, allocations: 1.135 MB / 0.4952 GB, free: 9.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1522, allocations: 8 kB / 0.4952 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.1523, allocations: 8 kB / 0.4952 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.1525, allocations: 66.05 kB / 0.4953 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009048/0.1534, allocations: 247.6 kB / 0.4955 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.1552, allocations: 2.639 MB / 0.4981 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/0.1559, allocations: 154.2 kB / 0.4983 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/0.156, allocations: 43.98 kB / 0.4983 GB, free: 6.148 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0003237/0.1563, allocations: 253.6 kB / 0.4985 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.1565, allocations: 82.97 kB / 0.4986 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.1582, allocations: 1.106 MB / 0.4997 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.1582, allocations: 8 kB / 0.4997 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1583, allocations: 0 / 0.4997 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1583, allocations: 7.922 kB / 0.4997 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.1615, allocations: 2.711 MB / 0.5024 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.1615, allocations: 4.781 kB / 0.5024 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.1622, allocations: 183.7 kB / 0.5025 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001893/0.1624, allocations: 65.66 kB / 0.5026 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.1625, allocations: 24 kB / 0.5026 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.17/0.3325, allocations: 2.616 MB / 0.5052 GB, free: 44.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.3325, allocations: 6.844 kB / 0.5052 GB, free: 44.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.3348, allocations: 1.479 MB / 0.5066 GB, free: 43.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.335, allocations: 207.5 kB / 0.5068 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.3351, allocations: 29.02 kB / 0.5069 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006349/0.3358, allocations: 57.19 kB / 0.5069 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.3359, allocations: 80.95 kB / 0.507 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.336, allocations: 33.17 kB / 0.507 GB, free: 43.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006599/0.3366, allocations: 0.5542 MB / 0.5076 GB, free: 43.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3366, allocations: 4.562 kB / 0.5076 GB, free: 43.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000852/0.3375, allocations: 285.6 kB / 0.5078 GB, free: 43.57 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 (92): * Single equations (assignments): 90 * 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.002378/0.3399, allocations: 2.084 MB / 0.5099 GB, free: 42.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.3416, allocations: 1.062 MB / 0.5109 GB, free: 42.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.3416, allocations: 3.281 kB / 0.5109 GB, free: 42.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000857/0.3425, allocations: 0.6222 MB / 0.5115 GB, free: 41.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.3438, allocations: 126 kB / 0.5116 GB, free: 41.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.3544, allocations: 9.126 MB / 0.5206 GB, free: 36.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.3549, allocations: 0.9928 MB / 0.5215 GB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006439/0.3555, allocations: 152.6 kB / 0.5217 GB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/0.356, allocations: 358.5 kB / 0.522 GB, free: 35.1 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.356, allocations: 0 / 0.522 GB, free: 35.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.3832, allocations: 17.66 MB / 0.5393 GB, free: 24.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001271/0.3833, allocations: 250 kB / 0.5395 GB, free: 24.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.454, allocations: 0 / 0.5395 GB, free: 24.66 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches