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.001423/0.001423, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001659/0.001659, allocations: 210.6 kB / 23.73 MB, free: 4.387 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 / 257.5 MB, free: 7.789 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.2463/0.2463, allocations: 46.95 MB / 360.9 MB, free: 4.133 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.002203/0.002203, allocations: 71.91 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3628, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009134/0.3719, allocations: 6.581 MB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005126/0.377, allocations: 2.214 MB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006602/0.3777, allocations: 27.94 kB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003993/0.3817, allocations: 1.625 MB / 0.5708 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.3839, allocations: 0.6948 MB / 0.5715 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.3856, allocations: 0.6996 MB / 0.5722 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.3875, allocations: 1.253 MB / 0.5734 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.3891, allocations: 0.8632 MB / 0.5742 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009163/0.39, allocations: 0.5176 MB / 0.5747 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00078/0.3908, allocations: 0.5948 MB / 0.5753 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.391, allocations: 108 kB / 0.5754 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000683/0.3916, allocations: 283.8 kB / 0.5757 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.3919, allocations: 278.9 kB / 0.576 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004733/0.3923, allocations: 0.4937 MB / 0.5764 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.3942, allocations: 1.619 MB / 0.578 GB, free: 2.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3942, allocations: 3.938 kB / 0.578 GB, free: 2.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3942, allocations: 0 / 0.578 GB, free: 2.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.3942, allocations: 0 / 0.578 GB, free: 2.285 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.004913/0.3991, allocations: 1.757 MB / 0.5797 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.3992, allocations: 12.03 kB / 0.5797 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002683/0.3995, allocations: 190.7 kB / 0.5799 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009115/0.4086, allocations: 1.276 MB / 0.5812 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.4103, allocations: 0.504 MB / 0.5817 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.4104, allocations: 107 kB / 0.5818 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.4106, allocations: 139.9 kB / 0.5819 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.4131, allocations: 1.425 MB / 0.5833 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.4132, allocations: 8 kB / 0.5833 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.4133, allocations: 48 kB / 0.5834 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.4133, allocations: 32 kB / 0.5834 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/0.4158, allocations: 1.439 MB / 0.5848 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007964/0.4238, allocations: 3.854 MB / 0.5886 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.4257, allocations: 0.8217 MB / 0.5894 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006118/0.4263, allocations: 336.2 kB / 0.5897 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.4264, allocations: 32.97 kB / 0.5897 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/0.4265, allocations: 47.5 kB / 0.5897 GB, free: 6.008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.507e-06/0.4265, allocations: 0 / 0.5897 GB, free: 6.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002435/0.4289, allocations: 1.052 MB / 0.5908 GB, free: 4.945 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.429, allocations: 72.34 kB / 0.5908 GB, free: 4.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.4301, allocations: 0.8402 MB / 0.5917 GB, free: 4.008 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.4302, allocations: 41.7 kB / 0.5917 GB, free: 3.961 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000432/0.4306, allocations: 0.5156 MB / 0.5922 GB, free: 3.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.4309, allocations: 321.3 kB / 0.5925 GB, free: 3.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.4313, allocations: 202.8 kB / 0.5927 GB, free: 2.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.4315, allocations: 398.7 kB / 0.5931 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006458/0.4321, allocations: 350.5 kB / 0.5934 GB, free: 2.176 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008744/0.433, allocations: 0.6231 MB / 0.594 GB, free: 1.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.4345, allocations: 0.9914 MB / 0.595 GB, free: 344 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.4345, allocations: 3.938 kB / 0.595 GB, free: 340 kB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002236/0.4367, allocations: 1.194 MB / 0.5962 GB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.4368, allocations: 18.38 kB / 0.5962 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.4368, allocations: 11.94 kB / 0.5962 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002833/0.4371, allocations: 69.67 kB / 0.5963 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009855/0.438, allocations: 272 kB / 0.5965 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.4405, allocations: 2.606 MB / 0.5991 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008977/0.4414, allocations: 158.8 kB / 0.5992 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.4415, allocations: 47.94 kB / 0.5993 GB, free: 11.72 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.0004639/0.4419, allocations: 265.5 kB / 0.5995 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.4421, allocations: 99.33 kB / 0.5996 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.4441, allocations: 1.099 MB / 0.6007 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4441, allocations: 12 kB / 0.6007 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4441, allocations: 4 kB / 0.6007 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.4441, allocations: 3.984 kB / 0.6007 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003879/0.448, allocations: 2.224 MB / 0.6029 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.448, allocations: 4 kB / 0.6029 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007339/0.4488, allocations: 183.7 kB / 0.6031 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.449, allocations: 62.14 kB / 0.6031 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-05/0.4491, allocations: 24 kB / 0.6031 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.4514, allocations: 2.61 MB / 0.6057 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/0.4514, allocations: 16 kB / 0.6057 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.4539, allocations: 1.482 MB / 0.6072 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.4542, allocations: 131.1 kB / 0.6073 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.4544, allocations: 24 kB / 0.6073 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007069/0.4551, allocations: 55.97 kB / 0.6074 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.4553, allocations: 84.41 kB / 0.6074 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.4553, allocations: 28 kB / 0.6075 GB, free: 2.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008271/0.4562, allocations: 0.5849 MB / 0.608 GB, free: 2.238 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4562, allocations: 0 / 0.608 GB, free: 2.238 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001222/0.4574, allocations: 311.6 kB / 0.6083 GB, free: 1.934 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.003042/0.4604, allocations: 2.091 MB / 0.6104 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.4626, allocations: 1.055 MB / 0.6114 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.4626, allocations: 4 kB / 0.6114 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.4637, allocations: 0.589 MB / 0.612 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009662/0.4646, allocations: 123.2 kB / 0.6121 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.4796, allocations: 8.479 MB / 0.6204 GB, free: 4.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.4802, allocations: 420.3 kB / 0.6208 GB, free: 4.488 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006259/0.4808, allocations: 155.8 kB / 0.6209 GB, free: 4.332 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.4814, allocations: 391.3 kB / 0.6213 GB, free: 3.949 MB / 462.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4814, allocations: 0 / 0.6213 GB, free: 3.949 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06439/0.5458, allocations: 21.15 MB / 0.642 GB, free: 15.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.06, allocations: 7.797 kB / 0.642 GB, free: 15.04 MB / 494.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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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] "Error: Could not read variable v.re in file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.re from file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! Error: Could not read variable v.im in file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.im from file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.31419438496232]