Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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.001286/0.001286, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001447/0.001447, allocations: 207.6 kB / 23.73 MB, free: 4.379 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2184/0.2184, allocations: 46.97 MB / 360.9 MB, free: 4.004 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.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002868/0.002868, allocations: 63.89 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3119, allocations: 66.04 MB / 0.5606 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.007976/0.3199, allocations: 5.782 MB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004274/0.3242, allocations: 2.13 MB / 0.5683 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005228/0.3247, allocations: 16 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00339/0.3281, allocations: 1.404 MB / 0.5697 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.3303, allocations: 0.7147 MB / 0.5704 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.3317, allocations: 0.5791 MB / 0.571 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.3331, allocations: 1.171 MB / 0.5721 GB, free: 8.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.3344, allocations: 0.8675 MB / 0.573 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007181/0.3351, allocations: 0.5137 MB / 0.5735 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007591/0.3358, allocations: 0.6225 MB / 0.5741 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.336, allocations: 108 kB / 0.5742 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000645/0.3366, allocations: 287.8 kB / 0.5744 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.3369, allocations: 255 kB / 0.5747 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004632/0.3373, allocations: 473.7 kB / 0.5751 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.3393, allocations: 1.521 MB / 0.5766 GB, free: 3.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.3393, allocations: 8 kB / 0.5766 GB, free: 3.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3393, allocations: 0 / 0.5766 GB, free: 3.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.3393, allocations: 0 / 0.5766 GB, free: 3.57 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004371/0.3437, allocations: 1.612 MB / 0.5782 GB, free: 1.922 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3437, allocations: 8.031 kB / 0.5782 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002968/0.344, allocations: 187.9 kB / 0.5784 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00814/0.3522, allocations: 1.128 MB / 0.5795 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.3536, allocations: 484.3 kB / 0.58 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.3537, allocations: 90.73 kB / 0.58 GB, free: 0 / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/0.3539, allocations: 116.4 kB / 0.5802 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.3566, allocations: 1.464 MB / 0.5816 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/0.3567, allocations: 7.984 kB / 0.5816 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.3568, allocations: 55.98 kB / 0.5816 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.3568, allocations: 28 kB / 0.5817 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/0.3598, allocations: 1.413 MB / 0.5831 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0074/0.3672, allocations: 3.726 MB / 0.5867 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.3701, allocations: 1.007 MB / 0.5877 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008681/0.371, allocations: 377 kB / 0.588 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.3711, allocations: 35.91 kB / 0.5881 GB, free: 7.508 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.3711, allocations: 50.47 kB / 0.5881 GB, free: 7.449 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.146e-06/0.3711, allocations: 4 kB / 0.5881 GB, free: 7.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003242/0.3744, allocations: 1.163 MB / 0.5893 GB, free: 6.277 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.3745, allocations: 247.2 kB / 0.5895 GB, free: 5.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007283/0.3753, allocations: 0.58 MB / 0.5901 GB, free: 5.391 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.3753, allocations: 45.7 kB / 0.5901 GB, free: 5.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.3757, allocations: 476.2 kB / 0.5906 GB, free: 4.867 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.376, allocations: 317.2 kB / 0.5909 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/0.3763, allocations: 194.9 kB / 0.591 GB, free: 4.355 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3765, allocations: 374.8 kB / 0.5914 GB, free: 3.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009289/0.3774, allocations: 386.4 kB / 0.5918 GB, free: 3.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.3786, allocations: 0.7143 MB / 0.5925 GB, free: 2.754 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.3807, allocations: 1.055 MB / 0.5935 GB, free: 1.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.3807, allocations: 0 / 0.5935 GB, free: 1.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002664/0.3833, allocations: 1.202 MB / 0.5947 GB, free: 392 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3834, allocations: 19.36 kB / 0.5947 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.3834, allocations: 12 kB / 0.5947 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/0.3835, allocations: 36.84 kB / 0.5947 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.3847, allocations: 283.6 kB / 0.595 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-05/0.3847, allocations: 19.92 kB / 0.595 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008658/0.3856, allocations: 155 kB / 0.5952 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.3857, allocations: 55.98 kB / 0.5952 GB, free: 15.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004174/0.3861, allocations: 249.5 kB / 0.5955 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.3863, allocations: 79.5 kB / 0.5955 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/0.3888, allocations: 1.02 MB / 0.5965 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.3888, allocations: 8 kB / 0.5965 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.3888, allocations: 4 kB / 0.5965 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3888, allocations: 3.984 kB / 0.5966 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004196/0.393, allocations: 2.153 MB / 0.5987 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.393, allocations: 0 / 0.5987 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000955/0.394, allocations: 219.7 kB / 0.5989 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.3941, allocations: 24.84 kB / 0.5989 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.3941, allocations: 23.98 kB / 0.5989 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.3942, allocations: 12 kB / 0.5989 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.3942, allocations: 3.938 kB / 0.5989 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/0.3975, allocations: 1.837 MB / 0.6007 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.3976, allocations: 87.42 kB / 0.6008 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.3977, allocations: 27.88 kB / 0.6008 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/0.3985, allocations: 59.94 kB / 0.6009 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.3987, allocations: 79.89 kB / 0.601 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.3987, allocations: 27.98 kB / 0.601 GB, free: 9.816 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004991/0.3992, allocations: 402.8 kB / 0.6014 GB, free: 9.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3992, allocations: 3.938 kB / 0.6014 GB, free: 9.422 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001109/0.4003, allocations: 291.4 kB / 0.6017 GB, free: 9.137 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_p.reference.gamma,currentCurrent.pin_p.reference.gamma,constantSource.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): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004075/0.4044, allocations: 2.429 MB / 0.604 GB, free: 6.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.4069, allocations: 0.9135 MB / 0.6049 GB, free: 5.754 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4069, allocations: 4 kB / 0.6049 GB, free: 5.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.4079, allocations: 451.6 kB / 0.6054 GB, free: 5.309 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.4091, allocations: 98.02 kB / 0.6054 GB, free: 5.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.422, allocations: 7.872 MB / 0.6131 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.4224, allocations: 390.1 kB / 0.6135 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005314/0.4229, allocations: 138.2 kB / 0.6136 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/0.4235, allocations: 371.3 kB / 0.614 GB, free: 12.08 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4235, allocations: 0 / 0.614 GB, free: 12.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0526/0.4761, allocations: 19.23 MB / 0.6328 GB, free: 9.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.46, allocations: 9.594 kB / 0.6328 GB, free: 9.066 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_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_FrequencySweep.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.430377331009367]