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.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.001263/0.001263, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001474/0.001474, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2199/0.2199, allocations: 44.91 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] 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.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_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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3115, allocations: 65.47 MB / 0.557 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00916/0.3207, allocations: 7.01 MB / 0.5639 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00478/0.3254, allocations: 2.28 MB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006594/0.3261, allocations: 23.94 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003565/0.3297, allocations: 1.532 MB / 0.5676 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.3317, allocations: 0.683 MB / 0.5683 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.3333, allocations: 0.7221 MB / 0.569 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.3348, allocations: 1.155 MB / 0.5701 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.3359, allocations: 0.7685 MB / 0.5709 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006348/0.3366, allocations: 494.1 kB / 0.5713 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007367/0.3373, allocations: 0.6029 MB / 0.5719 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.3375, allocations: 96 kB / 0.572 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006524/0.3381, allocations: 283.8 kB / 0.5723 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.3383, allocations: 247 kB / 0.5725 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005342/0.3388, allocations: 0.5519 MB / 0.5731 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.3406, allocations: 1.467 MB / 0.5745 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3406, allocations: 0 / 0.5745 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3406, allocations: 0 / 0.5745 GB, free: 5.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.3406, allocations: 4 kB / 0.5745 GB, free: 5.781 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004057/0.3447, allocations: 1.632 MB / 0.5761 GB, free: 4.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3447, allocations: 12.02 kB / 0.5761 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002059/0.345, allocations: 181.8 kB / 0.5763 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009482/0.3544, allocations: 1.257 MB / 0.5775 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.3557, allocations: 499.8 kB / 0.578 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.044e-05/0.3558, allocations: 86.41 kB / 0.5781 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.356, allocations: 128 kB / 0.5782 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.3582, allocations: 1.152 MB / 0.5793 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.3582, allocations: 7.984 kB / 0.5793 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.3583, allocations: 48 kB / 0.5794 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.3584, allocations: 28 kB / 0.5794 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.3608, allocations: 1.384 MB / 0.5807 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007459/0.3683, allocations: 3.853 MB / 0.5845 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.37, allocations: 0.8041 MB / 0.5853 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.3706, allocations: 331.8 kB / 0.5856 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.3707, allocations: 40.88 kB / 0.5857 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.3707, allocations: 43.55 kB / 0.5857 GB, free: 10.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.625e-06/0.3707, allocations: 0 / 0.5857 GB, free: 10.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.00226/0.373, allocations: 1.052 MB / 0.5867 GB, free: 9.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.373, allocations: 64.41 kB / 0.5868 GB, free: 8.961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.374, allocations: 0.7816 MB / 0.5875 GB, free: 8.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/0.3741, allocations: 41.7 kB / 0.5876 GB, free: 8.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.3744, allocations: 472.2 kB / 0.588 GB, free: 7.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.3747, allocations: 317.3 kB / 0.5883 GB, free: 7.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.375, allocations: 198.8 kB / 0.5885 GB, free: 7.137 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.3752, allocations: 398.7 kB / 0.5889 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/0.3759, allocations: 342.5 kB / 0.5892 GB, free: 6.406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008182/0.3767, allocations: 0.5661 MB / 0.5898 GB, free: 5.742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.3782, allocations: 0.927 MB / 0.5907 GB, free: 4.723 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.3782, allocations: 8 kB / 0.5907 GB, free: 4.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002232/0.3804, allocations: 1.143 MB / 0.5918 GB, free: 3.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3804, allocations: 8 kB / 0.5918 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.3804, allocations: 8 kB / 0.5918 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.3807, allocations: 66.14 kB / 0.5919 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.3817, allocations: 251.6 kB / 0.5921 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.3842, allocations: 2.617 MB / 0.5947 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000982/0.3852, allocations: 146.8 kB / 0.5948 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/0.3853, allocations: 47.98 kB / 0.5949 GB, free: 196 kB / 430.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.0004668/0.3857, allocations: 245.7 kB / 0.5951 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.3859, allocations: 95.39 kB / 0.5952 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.3879, allocations: 1.095 MB / 0.5963 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.3879, allocations: 8 kB / 0.5963 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.388, allocations: 0 / 0.5963 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.388, allocations: 3.984 kB / 0.5963 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004022/0.392, allocations: 2.349 MB / 0.5986 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.392, allocations: 4 kB / 0.5986 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007573/0.3928, allocations: 183.7 kB / 0.5988 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002457/0.393, allocations: 70.11 kB / 0.5988 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/0.3931, allocations: 32 kB / 0.5989 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/0.3955, allocations: 2.61 MB / 0.6014 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/0.3956, allocations: 8 kB / 0.6014 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.3982, allocations: 1.473 MB / 0.6028 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.3985, allocations: 119.2 kB / 0.603 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.3987, allocations: 28.06 kB / 0.603 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/0.3993, allocations: 51.97 kB / 0.603 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.3995, allocations: 88.28 kB / 0.6031 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.3996, allocations: 39.98 kB / 0.6032 GB, free: 7.199 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008022/0.4004, allocations: 0.5537 MB / 0.6037 GB, free: 6.648 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4004, allocations: 0 / 0.6037 GB, free: 6.648 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001103/0.4015, allocations: 291.6 kB / 0.604 GB, free: 6.363 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 (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.003048/0.4045, allocations: 2.087 MB / 0.606 GB, free: 4.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.4065, allocations: 1.02 MB / 0.607 GB, free: 3.113 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.4065, allocations: 3.938 kB / 0.607 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.4075, allocations: 0.5872 MB / 0.6076 GB, free: 2.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008532/0.4083, allocations: 128.2 kB / 0.6077 GB, free: 2.379 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.4213, allocations: 8.088 MB / 0.6156 GB, free: 9.812 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000738/0.422, allocations: 0.9882 MB / 0.6166 GB, free: 8.797 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005383/0.4226, allocations: 147.4 kB / 0.6167 GB, free: 8.648 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/0.4231, allocations: 363.3 kB / 0.6171 GB, free: 8.293 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4231, allocations: 0 / 0.6171 GB, free: 8.293 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06209/0.4852, allocations: 19.87 MB / 0.6365 GB, free: 4.609 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.79, allocations: 7.438 kB / 0.6365 GB, free: 4.605 MB / 478.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv","/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) [Timeout 660] "Error: Could not read variable v.re in file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.re from file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! Error: Could not read variable v.im in file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.im from file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.818989075996797]