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.00139/0.00139, allocations: 113.1 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.001514/0.001514, allocations: 210.5 kB / 23.74 MB, free: 4.672 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.2293/0.2293, allocations: 46.93 MB / 360.9 MB, free: 4.246 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.002023/0.002023, allocations: 71.89 kB / 0.4962 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3267, allocations: 66.03 MB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009862/0.3366, allocations: 7.554 MB / 0.568 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.3415, allocations: 2.373 MB / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008695/0.3424, allocations: 27.94 kB / 0.5704 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004302/0.3467, allocations: 1.757 MB / 0.5721 GB, free: 8.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.3489, allocations: 0.7068 MB / 0.5728 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.3506, allocations: 0.7436 MB / 0.5735 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.3523, allocations: 1.253 MB / 0.5747 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.3537, allocations: 0.875 MB / 0.5756 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008126/0.3545, allocations: 0.5214 MB / 0.5761 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009136/0.3554, allocations: 0.6653 MB / 0.5767 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.3556, allocations: 108 kB / 0.5768 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009023/0.3565, allocations: 303.8 kB / 0.5771 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.3568, allocations: 271 kB / 0.5774 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007073/0.3575, allocations: 0.6024 MB / 0.578 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.3601, allocations: 1.618 MB / 0.5796 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3601, allocations: 0 / 0.5796 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3601, allocations: 0 / 0.5796 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.259e-05/0.3602, allocations: 0 / 0.5796 GB, free: 0.9727 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.004867/0.365, allocations: 1.757 MB / 0.5813 GB, free: 15.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.3651, allocations: 12.03 kB / 0.5813 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002386/0.3653, allocations: 194.7 kB / 0.5815 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009443/0.3748, allocations: 1.272 MB / 0.5827 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3759, allocations: 0.5001 MB / 0.5832 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.739e-05/0.376, allocations: 99.03 kB / 0.5833 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.3762, allocations: 143.9 kB / 0.5834 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.3785, allocations: 1.249 MB / 0.5847 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.3786, allocations: 4 kB / 0.5847 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.3787, allocations: 56 kB / 0.5847 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.3787, allocations: 35.94 kB / 0.5848 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.3812, allocations: 1.451 MB / 0.5862 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007734/0.389, allocations: 4.201 MB / 0.5903 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.3908, allocations: 0.8219 MB / 0.5911 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005854/0.3914, allocations: 336.2 kB / 0.5914 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.3915, allocations: 36.94 kB / 0.5914 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.3915, allocations: 43.56 kB / 0.5915 GB, free: 4.551 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.385e-06/0.3915, allocations: 0 / 0.5915 GB, free: 4.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002312/0.3938, allocations: 1.064 MB / 0.5925 GB, free: 3.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3939, allocations: 64.34 kB / 0.5926 GB, free: 3.406 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.3949, allocations: 0.8247 MB / 0.5934 GB, free: 2.566 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.395, allocations: 41.7 kB / 0.5934 GB, free: 2.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.3954, allocations: 0.5117 MB / 0.5939 GB, free: 2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.3957, allocations: 329.2 kB / 0.5942 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/0.396, allocations: 206.8 kB / 0.5944 GB, free: 1.469 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.3962, allocations: 394.7 kB / 0.5948 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.3969, allocations: 354.5 kB / 0.5951 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009159/0.3978, allocations: 0.623 MB / 0.5958 GB, free: 15.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.3993, allocations: 0.9953 MB / 0.5967 GB, free: 14.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3994, allocations: 0 / 0.5967 GB, free: 14.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002165/0.4015, allocations: 1.19 MB / 0.5979 GB, free: 13.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.4015, allocations: 16 kB / 0.5979 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.4016, allocations: 8 kB / 0.5979 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/0.4018, allocations: 73.61 kB / 0.598 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.4028, allocations: 259.6 kB / 0.5982 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/0.4055, allocations: 2.617 MB / 0.6008 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008745/0.4063, allocations: 162.8 kB / 0.6009 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.4065, allocations: 51.98 kB / 0.601 GB, free: 10.26 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.000435/0.4069, allocations: 257.5 kB / 0.6012 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.4071, allocations: 103.3 kB / 0.6013 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.4091, allocations: 1.103 MB / 0.6024 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.4091, allocations: 11.98 kB / 0.6024 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4091, allocations: 0 / 0.6024 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.4092, allocations: 7.922 kB / 0.6024 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003907/0.4131, allocations: 2.4 MB / 0.6048 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.4131, allocations: 4 kB / 0.6048 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/0.4138, allocations: 183.8 kB / 0.6049 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002088/0.414, allocations: 65.61 kB / 0.605 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.4141, allocations: 27.98 kB / 0.605 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.4162, allocations: 2.61 MB / 0.6076 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.4162, allocations: 7.938 kB / 0.6076 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.4186, allocations: 1.493 MB / 0.6091 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.4188, allocations: 119.2 kB / 0.6092 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.419, allocations: 31.94 kB / 0.6092 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006442/0.4196, allocations: 55.97 kB / 0.6093 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.4198, allocations: 84.39 kB / 0.6093 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.4198, allocations: 36 kB / 0.6094 GB, free: 1.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008032/0.4206, allocations: 0.5849 MB / 0.6099 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4207, allocations: 0 / 0.6099 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00106/0.4217, allocations: 307.6 kB / 0.6102 GB, free: 296 kB / 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.003075/0.4248, allocations: 2.087 MB / 0.6123 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.4269, allocations: 1.058 MB / 0.6133 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4269, allocations: 0 / 0.6133 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.4279, allocations: 0.5972 MB / 0.6139 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008545/0.4288, allocations: 120.6 kB / 0.614 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.4419, allocations: 8.483 MB / 0.6223 GB, free: 3.285 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/0.4426, allocations: 1.012 MB / 0.6233 GB, free: 2.246 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005558/0.4432, allocations: 155.8 kB / 0.6234 GB, free: 2.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/0.4438, allocations: 383.3 kB / 0.6238 GB, free: 1.715 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4438, allocations: 0 / 0.6238 GB, free: 1.715 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06807/0.5118, allocations: 20.69 MB / 0.644 GB, free: 13.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.86, allocations: 11.56 kB / 0.644 GB, free: 13.21 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 & 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.94836372300051]