Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2513/0.2513, allocations: 46.97 MB / 361.7 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.91 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3944, allocations: 66.03 MB / 0.5614 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01032/0.4047, allocations: 6.58 MB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007034/0.4117, allocations: 2.213 MB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/0.4146, allocations: 31.88 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005463/0.4201, allocations: 1.617 MB / 0.5716 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00281/0.4229, allocations: 0.6873 MB / 0.5722 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.4249, allocations: 0.718 MB / 0.5729 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.4272, allocations: 1.257 MB / 0.5742 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.4289, allocations: 0.8711 MB / 0.575 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008936/0.4298, allocations: 0.5254 MB / 0.5755 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.4308, allocations: 0.6691 MB / 0.5762 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.4311, allocations: 108 kB / 0.5763 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008694/0.432, allocations: 291.8 kB / 0.5766 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.4323, allocations: 275 kB / 0.5768 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000757/0.4331, allocations: 0.4976 MB / 0.5773 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.4353, allocations: 1.615 MB / 0.5789 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4353, allocations: 0 / 0.5789 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4353, allocations: 0 / 0.5789 GB, free: 2.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.689e-05/0.4354, allocations: 0 / 0.5789 GB, free: 2.215 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005196/0.4406, allocations: 1.761 MB / 0.5806 GB, free: 428 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4406, allocations: 12.03 kB / 0.5806 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.182e-05/0.4407, allocations: 38.78 kB / 0.5806 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003058/0.441, allocations: 190.7 kB / 0.5808 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009719/0.4507, allocations: 1.276 MB / 0.5821 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.4524, allocations: 0.504 MB / 0.5826 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.4525, allocations: 102.8 kB / 0.5827 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004533/0.453, allocations: 136 kB / 0.5828 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/0.4562, allocations: 1.417 MB / 0.5842 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.835e-05/0.4562, allocations: 4 kB / 0.5842 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.4564, allocations: 52 kB / 0.5842 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.4564, allocations: 32 kB / 0.5843 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.4591, allocations: 1.463 MB / 0.5857 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008141/0.4672, allocations: 3.854 MB / 0.5895 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.4691, allocations: 0.8217 MB / 0.5903 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/0.4697, allocations: 332.2 kB / 0.5906 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.4698, allocations: 36.91 kB / 0.5906 GB, free: 5.941 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/0.4699, allocations: 47.55 kB / 0.5907 GB, free: 5.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.817e-06/0.4699, allocations: 0 / 0.5907 GB, free: 5.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.00253/0.4724, allocations: 1.056 MB / 0.5917 GB, free: 4.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.4725, allocations: 64.41 kB / 0.5917 GB, free: 4.746 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.4738, allocations: 0.8286 MB / 0.5926 GB, free: 3.902 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.245e-05/0.4739, allocations: 41.7 kB / 0.5926 GB, free: 3.855 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/0.4744, allocations: 0.5195 MB / 0.5931 GB, free: 3.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.4747, allocations: 321.2 kB / 0.5934 GB, free: 3.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/0.475, allocations: 202.8 kB / 0.5936 GB, free: 2.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.4752, allocations: 398.7 kB / 0.594 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007171/0.476, allocations: 346.5 kB / 0.5943 GB, free: 2.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009461/0.4769, allocations: 0.6269 MB / 0.5949 GB, free: 1.328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.4787, allocations: 0.9952 MB / 0.5959 GB, free: 228 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.4787, allocations: 4 kB / 0.5959 GB, free: 224 kB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002439/0.4811, allocations: 1.198 MB / 0.5971 GB, free: 15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.4811, allocations: 8 kB / 0.5971 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.4812, allocations: 8 kB / 0.5971 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003471/0.4815, allocations: 70.16 kB / 0.5972 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.4826, allocations: 267.6 kB / 0.5974 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.4852, allocations: 2.606 MB / 0.6 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.4862, allocations: 162.7 kB / 0.6001 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.4863, allocations: 47.98 kB / 0.6002 GB, free: 11.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.0004973/0.4868, allocations: 253.5 kB / 0.6004 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.4871, allocations: 103.3 kB / 0.6005 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.4893, allocations: 1.099 MB / 0.6016 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4893, allocations: 8 kB / 0.6016 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.4893, allocations: 15.98 kB / 0.6016 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4893, allocations: 3.984 kB / 0.6016 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004613/0.4939, allocations: 2.228 MB / 0.6038 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.494, allocations: 4 kB / 0.6038 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007959/0.4948, allocations: 179.7 kB / 0.6039 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.495, allocations: 58.23 kB / 0.604 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.067e-05/0.4951, allocations: 35.98 kB / 0.604 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.4977, allocations: 2.602 MB / 0.6066 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/0.4977, allocations: 7.938 kB / 0.6066 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.5003, allocations: 1.489 MB / 0.608 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/0.5006, allocations: 123.3 kB / 0.6082 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.5008, allocations: 27.95 kB / 0.6082 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.5015, allocations: 55.91 kB / 0.6082 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.5017, allocations: 80.41 kB / 0.6083 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.042e-05/0.5018, allocations: 35.98 kB / 0.6083 GB, free: 2.711 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000863/0.5026, allocations: 0.581 MB / 0.6089 GB, free: 2.133 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5026, allocations: 0 / 0.6089 GB, free: 2.133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001158/0.5038, allocations: 315.6 kB / 0.6092 GB, free: 1.824 MB / 446.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 (93): * Single equations (assignments): 91 * 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.003008/0.5068, allocations: 2.088 MB / 0.6113 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.5089, allocations: 1.054 MB / 0.6123 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.5089, allocations: 7.938 kB / 0.6123 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.5099, allocations: 0.5893 MB / 0.6129 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.5108, allocations: 119.2 kB / 0.613 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.5247, allocations: 8.478 MB / 0.6213 GB, free: 4.816 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.5252, allocations: 424.3 kB / 0.6217 GB, free: 4.371 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006046/0.5258, allocations: 155.7 kB / 0.6218 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006162/0.5264, allocations: 391.3 kB / 0.6222 GB, free: 3.832 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5264, allocations: 0 / 0.6222 GB, free: 3.832 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07074/0.5972, allocations: 21.04 MB / 0.6427 GB, free: 15.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.21, allocations: 9.984 kB / 0.6427 GB, free: 15.1 MB / 494.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.107452405965887]