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.001305/0.001305, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001506/0.001506, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.529/1.529, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2836/0.2836, allocations: 46.91 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.89 kB / 0.4909 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1265, allocations: 66 MB / 0.5554 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01035/0.1368, allocations: 7.523 MB / 0.5627 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004889/0.1417, allocations: 2.358 MB / 0.565 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.1428, allocations: 27.94 kB / 0.5651 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004306/0.1471, allocations: 1.757 MB / 0.5668 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.1495, allocations: 0.7029 MB / 0.5675 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.1514, allocations: 0.7475 MB / 0.5682 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.1539, allocations: 1.253 MB / 0.5694 GB, free: 7.422 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.1554, allocations: 0.7153 MB / 0.5701 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.1566, allocations: 0.5253 MB / 0.5706 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.1577, allocations: 0.6614 MB / 0.5713 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003235/0.1581, allocations: 108 kB / 0.5714 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.1591, allocations: 303.8 kB / 0.5717 GB, free: 5.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.1594, allocations: 271 kB / 0.5719 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008848/0.1603, allocations: 0.6024 MB / 0.5725 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.163, allocations: 1.618 MB / 0.5741 GB, free: 2.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.163, allocations: 4 kB / 0.5741 GB, free: 2.582 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.163, allocations: 0 / 0.5741 GB, free: 2.582 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.097e-05/0.163, allocations: 0 / 0.5741 GB, free: 2.582 MB / 430.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.005838/0.1689, allocations: 1.825 MB / 0.5759 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.1689, allocations: 12.03 kB / 0.5759 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003896/0.1693, allocations: 198.7 kB / 0.5761 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009772/0.1791, allocations: 1.264 MB / 0.5773 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.1807, allocations: 0.5726 MB / 0.5779 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.1808, allocations: 99.03 kB / 0.578 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/0.1812, allocations: 143.8 kB / 0.5781 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00379/0.185, allocations: 1.249 MB / 0.5793 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.155e-05/0.1851, allocations: 0 / 0.5793 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.1854, allocations: 52 kB / 0.5794 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/0.1854, allocations: 32 kB / 0.5794 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/0.1887, allocations: 1.463 MB / 0.5808 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.1993, allocations: 5.809 MB / 0.5865 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.2014, allocations: 1.046 MB / 0.5875 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/0.2021, allocations: 338.5 kB / 0.5879 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.2023, allocations: 195.2 kB / 0.588 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.2023, allocations: 39.56 kB / 0.5881 GB, free: 3.539 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 3.186e-06/0.2023, allocations: 4 kB / 0.5881 GB, free: 3.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.002676/0.205, allocations: 1.211 MB / 0.5893 GB, free: 2.277 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.2051, allocations: 60.41 kB / 0.5893 GB, free: 2.207 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.2063, allocations: 0.8326 MB / 0.5901 GB, free: 1.359 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.2063, allocations: 41.7 kB / 0.5902 GB, free: 1.312 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.2068, allocations: 0.5078 MB / 0.5907 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.2071, allocations: 329.2 kB / 0.591 GB, free: 484 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.2074, allocations: 202.8 kB / 0.5912 GB, free: 272 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2703/0.4777, allocations: 402.7 kB / 0.5916 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.4788, allocations: 342.9 kB / 0.5919 GB, free: 33.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008143/0.4796, allocations: 0.6237 MB / 0.5925 GB, free: 33.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.4811, allocations: 0.9944 MB / 0.5935 GB, free: 32.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.4811, allocations: 3.062 kB / 0.5935 GB, free: 32.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002609/0.4837, allocations: 1.193 MB / 0.5946 GB, free: 32.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.4838, allocations: 12.97 kB / 0.5946 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.4838, allocations: 8.281 kB / 0.5947 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.4841, allocations: 66.33 kB / 0.5947 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.4852, allocations: 263.6 kB / 0.595 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.4869, allocations: 2.829 MB / 0.5977 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009499/0.4879, allocations: 155.5 kB / 0.5979 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.406e-05/0.488, allocations: 50.19 kB / 0.5979 GB, free: 30.11 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.0003636/0.4883, allocations: 260.4 kB / 0.5982 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.4885, allocations: 104.5 kB / 0.5983 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.4904, allocations: 1.1 MB / 0.5994 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4904, allocations: 10.88 kB / 0.5994 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4904, allocations: 1.375 kB / 0.5994 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.4904, allocations: 5.75 kB / 0.5994 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/0.4942, allocations: 3.176 MB / 0.6025 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.4942, allocations: 5.781 kB / 0.6025 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007737/0.495, allocations: 180.2 kB / 0.6026 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/0.4952, allocations: 67.81 kB / 0.6027 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.4952, allocations: 27.61 kB / 0.6027 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.4968, allocations: 2.827 MB / 0.6055 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/0.4968, allocations: 10.34 kB / 0.6055 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.4992, allocations: 1.481 MB / 0.607 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.4995, allocations: 204.6 kB / 0.6071 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.4996, allocations: 31.61 kB / 0.6072 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006531/0.5003, allocations: 47.83 kB / 0.6072 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.5004, allocations: 81.73 kB / 0.6073 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/0.5005, allocations: 37.38 kB / 0.6073 GB, free: 23.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007548/0.5012, allocations: 0.579 MB / 0.6079 GB, free: 23.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5012, allocations: 0 / 0.6079 GB, free: 23.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001077/0.5023, allocations: 309.9 kB / 0.6082 GB, free: 23.02 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.002648/0.5049, allocations: 2.091 MB / 0.6102 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.5068, allocations: 1.047 MB / 0.6113 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5068, allocations: 5.156 kB / 0.6113 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008511/0.5077, allocations: 0.5935 MB / 0.6118 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008043/0.5085, allocations: 123.2 kB / 0.612 GB, free: 20.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.5192, allocations: 8.465 MB / 0.6202 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.5197, allocations: 1.018 MB / 0.6212 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005489/0.5202, allocations: 151.5 kB / 0.6214 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.5207, allocations: 389.7 kB / 0.6217 GB, free: 14.65 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5207, allocations: 1.406 kB / 0.6217 GB, free: 14.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06649/0.5872, allocations: 19.97 MB / 0.6412 GB, free: 1.801 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.56, allocations: 4.062 kB / 0.6413 GB, free: 1.797 MB / 446.1 MB " [Timeout remaining time 647] (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: 16.074854023987427]