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.001405/0.001405, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001504/0.001504, allocations: 214 kB / 23.73 MB, free: 4.16 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2182/0.2182, allocations: 44.94 MB / 358.9 MB, free: 6.055 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.002073/0.002073, allocations: 63.91 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3145, allocations: 65.47 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007934/0.3225, allocations: 6.134 MB / 0.563 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00401/0.3265, allocations: 2.128 MB / 0.565 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/0.3268, allocations: 23.94 kB / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003341/0.3302, allocations: 1.408 MB / 0.5664 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.3319, allocations: 0.6829 MB / 0.5671 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.3334, allocations: 0.6937 MB / 0.5678 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.3347, allocations: 1.155 MB / 0.5689 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.3359, allocations: 0.7452 MB / 0.5696 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006414/0.3366, allocations: 490.1 kB / 0.5701 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006597/0.3372, allocations: 0.5327 MB / 0.5706 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.3374, allocations: 99.94 kB / 0.5707 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000591/0.338, allocations: 279.8 kB / 0.571 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.3382, allocations: 243.1 kB / 0.5712 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004349/0.3386, allocations: 465.7 kB / 0.5717 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.3403, allocations: 1.475 MB / 0.5731 GB, free: 6.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3403, allocations: 0 / 0.5731 GB, free: 6.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3403, allocations: 0 / 0.5731 GB, free: 6.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.3404, allocations: 0 / 0.5731 GB, free: 6.961 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.004162/0.3445, allocations: 1.64 MB / 0.5747 GB, free: 5.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3446, allocations: 8.031 kB / 0.5747 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002203/0.3448, allocations: 185.8 kB / 0.5749 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008848/0.3536, allocations: 1.257 MB / 0.5761 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.3551, allocations: 491.7 kB / 0.5766 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.3552, allocations: 94.39 kB / 0.5767 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.3554, allocations: 124 kB / 0.5768 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.3578, allocations: 1.32 MB / 0.5781 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/0.3579, allocations: 8 kB / 0.5781 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.358, allocations: 48 kB / 0.5781 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.358, allocations: 28 kB / 0.5782 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.3605, allocations: 1.364 MB / 0.5795 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008006/0.3685, allocations: 3.545 MB / 0.583 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.3702, allocations: 0.8 MB / 0.5837 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005654/0.3708, allocations: 333.9 kB / 0.5841 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.3709, allocations: 32.97 kB / 0.5841 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.371, allocations: 51.48 kB / 0.5841 GB, free: 11.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.387e-06/0.371, allocations: 0 / 0.5841 GB, free: 11.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.002355/0.3733, allocations: 1.044 MB / 0.5852 GB, free: 10.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.3734, allocations: 64.34 kB / 0.5852 GB, free: 10.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.3745, allocations: 0.8049 MB / 0.586 GB, free: 9.449 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.3746, allocations: 37.7 kB / 0.586 GB, free: 9.406 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.3749, allocations: 472.1 kB / 0.5865 GB, free: 8.938 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.3752, allocations: 317.3 kB / 0.5868 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/0.3755, allocations: 194.8 kB / 0.587 GB, free: 8.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.3757, allocations: 398.7 kB / 0.5874 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.3764, allocations: 334.5 kB / 0.5877 GB, free: 7.703 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000821/0.3772, allocations: 0.5739 MB / 0.5882 GB, free: 7.031 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.3787, allocations: 0.9231 MB / 0.5891 GB, free: 6.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3787, allocations: 4 kB / 0.5891 GB, free: 6.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002154/0.3808, allocations: 1.143 MB / 0.5903 GB, free: 4.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3809, allocations: 8 kB / 0.5903 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.3809, allocations: 8 kB / 0.5903 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.3812, allocations: 61.67 kB / 0.5903 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009387/0.3821, allocations: 247.6 kB / 0.5906 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.3845, allocations: 2.617 MB / 0.5931 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008131/0.3853, allocations: 147.1 kB / 0.5933 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.3853, allocations: 47.98 kB / 0.5933 GB, free: 1.496 MB / 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.0003848/0.3857, allocations: 245.5 kB / 0.5935 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.3859, allocations: 91.44 kB / 0.5936 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.3879, allocations: 1.099 MB / 0.5947 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.3879, allocations: 8 kB / 0.5947 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3879, allocations: 0 / 0.5947 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.3879, allocations: 3.984 kB / 0.5947 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/0.3916, allocations: 2.182 MB / 0.5968 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.3917, allocations: 8 kB / 0.5969 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007177/0.3924, allocations: 179.7 kB / 0.597 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/0.3926, allocations: 69.61 kB / 0.5971 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.3926, allocations: 27.98 kB / 0.5971 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.3948, allocations: 2.602 MB / 0.5997 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/0.3948, allocations: 11.94 kB / 0.5997 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.3973, allocations: 1.474 MB / 0.6011 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.3975, allocations: 123.2 kB / 0.6012 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.3976, allocations: 27.94 kB / 0.6013 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.3983, allocations: 52.03 kB / 0.6013 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.3984, allocations: 84.34 kB / 0.6014 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.3985, allocations: 39.98 kB / 0.6014 GB, free: 8.684 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007513/0.3992, allocations: 0.5498 MB / 0.602 GB, free: 8.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3992, allocations: 4 kB / 0.602 GB, free: 8.133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001017/0.4003, allocations: 287.6 kB / 0.6022 GB, free: 7.852 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.002937/0.4032, allocations: 2.079 MB / 0.6043 GB, free: 5.656 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.4052, allocations: 1.027 MB / 0.6053 GB, free: 4.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4052, allocations: 0.5625 kB / 0.6053 GB, free: 4.602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009494/0.4061, allocations: 0.592 MB / 0.6059 GB, free: 3.988 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000831/0.407, allocations: 130.9 kB / 0.606 GB, free: 3.863 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.4194, allocations: 8.064 MB / 0.6139 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.4199, allocations: 403 kB / 0.6142 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000591/0.4205, allocations: 147.4 kB / 0.6144 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005567/0.4211, allocations: 363.3 kB / 0.6147 GB, free: 10.39 MB / 462.1 MB Notification: Performance of SimCode: time 1.653e-06/0.4211, allocations: 0 / 0.6147 GB, free: 10.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06275/0.4838, allocations: 20.38 MB / 0.6346 GB, free: 6.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.89, allocations: 7.922 kB / 0.6346 GB, free: 6.262 MB / 478.1 MB " [Timeout remaining time 647] (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: 15.94441439025104]