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.0009654/0.0009654, allocations: 94.38 kB / 17.35 MB, free: 6.367 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.001214/0.001214, allocations: 176.1 kB / 18.25 MB, free: 5.527 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.217/1.217, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1763/0.1763, allocations: 44.25 MB / 337.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002846, allocations: 8 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.093, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006185/0.09925, allocations: 6.385 MB / 478.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.1023, allocations: 2.164 MB / 480.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004246/0.1027, allocations: 24 kB / 480.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.1034, allocations: 322.5 kB / 481.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.105, allocations: 0.7523 MB / 482 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.106, allocations: 0.5401 MB / 482.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000857/0.1068, allocations: 1.097 MB / 483.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.109, allocations: 1.433 MB / 485.1 MB, free: 448 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.1094, allocations: 410.1 kB / 485.5 MB, free: 36 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004748/0.1098, allocations: 0.5367 MB / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.731e-05/0.1099, allocations: 44 kB / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004066/0.1103, allocations: 227.7 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1105, allocations: 195.1 kB / 486.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003604/0.1108, allocations: 0.5261 MB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1119, allocations: 1.366 MB / 488.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1119, allocations: 0 / 488.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1119, allocations: 0 / 488.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1119, allocations: 0 / 488.4 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.003289/0.1152, allocations: 1.463 MB / 489.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1153, allocations: 12.03 kB / 489.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.1154, allocations: 181.7 kB / 490 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009084/0.1245, allocations: 1.342 MB / 491.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006295/0.1252, allocations: 0.5255 MB / 491.9 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.1252, allocations: 86.41 kB / 492 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.1254, allocations: 127.9 kB / 492.1 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.1273, allocations: 1.145 MB / 493.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.1273, allocations: 0 / 493.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.931e-05/0.1274, allocations: 48 kB / 493.3 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.1274, allocations: 28 kB / 493.3 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.1298, allocations: 1.391 MB / 494.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006207/0.136, allocations: 4.695 MB / 499.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.1376, allocations: 0.9404 MB / 0.4886 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.1382, allocations: 371.7 kB / 0.489 GB, free: 336 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.25e-05/0.1383, allocations: 98.08 kB / 0.489 GB, free: 220 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1383, allocations: 47.55 kB / 0.4891 GB, free: 164 kB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.054e-06/0.1383, allocations: 8 kB / 0.4891 GB, free: 156 kB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.001995/0.1403, allocations: 1.202 MB / 0.4903 GB, free: 14.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1404, allocations: 60.41 kB / 0.4903 GB, free: 14.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008235/0.1412, allocations: 0.7816 MB / 0.4911 GB, free: 14.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.1413, allocations: 37.7 kB / 0.4911 GB, free: 14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.1415, allocations: 458.9 kB / 0.4916 GB, free: 13.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.1417, allocations: 307.6 kB / 0.4919 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.1419, allocations: 89.67 kB / 0.4919 GB, free: 13.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.142, allocations: 390.7 kB / 0.4923 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/0.1426, allocations: 346.5 kB / 0.4927 GB, free: 12.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007059/0.1433, allocations: 0.5661 MB / 0.4932 GB, free: 11.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.1446, allocations: 0.9426 MB / 0.4941 GB, free: 10.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1446, allocations: 0 / 0.4941 GB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001788/0.1464, allocations: 1.139 MB / 0.4952 GB, free: 9.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1464, allocations: 8 kB / 0.4952 GB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.1464, allocations: 4 kB / 0.4952 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/0.1467, allocations: 65.77 kB / 0.4953 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008857/0.1476, allocations: 247.6 kB / 0.4955 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.1493, allocations: 2.631 MB / 0.4981 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.1501, allocations: 154.3 kB / 0.4983 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.1501, allocations: 43.98 kB / 0.4983 GB, free: 6.156 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.0002997/0.1504, allocations: 249.5 kB / 0.4985 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1506, allocations: 86.97 kB / 0.4986 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.1523, allocations: 1.11 MB / 0.4997 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1523, allocations: 8 kB / 0.4997 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.1524, allocations: 3.984 kB / 0.4997 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.1524, allocations: 7.922 kB / 0.4997 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/0.1556, allocations: 2.703 MB / 0.5024 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.1556, allocations: 4 kB / 0.5024 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.1563, allocations: 184.5 kB / 0.5025 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/0.1565, allocations: 65.67 kB / 0.5026 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/0.1566, allocations: 24 kB / 0.5026 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1888/0.3453, allocations: 2.612 MB / 0.5052 GB, free: 45.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/0.3454, allocations: 12.88 kB / 0.5052 GB, free: 45.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.3477, allocations: 1.473 MB / 0.5066 GB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.3479, allocations: 215.6 kB / 0.5068 GB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.348, allocations: 28.5 kB / 0.5069 GB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006505/0.3487, allocations: 63 kB / 0.5069 GB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.3488, allocations: 74.48 kB / 0.507 GB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.3489, allocations: 36.91 kB / 0.507 GB, free: 44.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007225/0.3496, allocations: 0.555 MB / 0.5076 GB, free: 44.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3496, allocations: 0 / 0.5076 GB, free: 44.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008655/0.3505, allocations: 288.3 kB / 0.5079 GB, free: 44.54 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.002234/0.3528, allocations: 2.084 MB / 0.5099 GB, free: 43.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.3544, allocations: 1.058 MB / 0.5109 GB, free: 43.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3544, allocations: 1.562 kB / 0.5109 GB, free: 43.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007889/0.3552, allocations: 0.6263 MB / 0.5115 GB, free: 42.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.3564, allocations: 121.2 kB / 0.5117 GB, free: 42.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.3677, allocations: 9.135 MB / 0.5206 GB, free: 36.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.3682, allocations: 0.9884 MB / 0.5215 GB, free: 36.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006511/0.3688, allocations: 145.1 kB / 0.5217 GB, free: 36.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.3693, allocations: 353.9 kB / 0.522 GB, free: 35.79 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3693, allocations: 0 / 0.522 GB, free: 35.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.3954, allocations: 17.67 MB / 0.5393 GB, free: 25.55 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.3956, allocations: 246.6 kB / 0.5395 GB, free: 25.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.539, allocations: 4 kB / 0.5395 GB, free: 25.29 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches