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.001768/0.001768, 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.002203/0.002203, allocations: 217.2 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 8 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.2822/0.2822, allocations: 46.93 MB / 360.9 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 179] 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.002009/0.002009, allocations: 71.88 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 66.03 MB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.00831/0.3233, allocations: 6.604 MB / 0.5671 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004318/0.3276, allocations: 2.278 MB / 0.5693 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005032/0.3281, allocations: 16 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003532/0.3317, allocations: 1.532 MB / 0.5708 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.3339, allocations: 0.7187 MB / 0.5715 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.3353, allocations: 0.6012 MB / 0.5721 GB, free: 8.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.3368, allocations: 1.182 MB / 0.5733 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.3381, allocations: 0.8558 MB / 0.5741 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007181/0.3388, allocations: 0.5137 MB / 0.5746 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007661/0.3396, allocations: 0.6186 MB / 0.5752 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.3398, allocations: 108 kB / 0.5753 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006242/0.3404, allocations: 287.8 kB / 0.5756 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.3406, allocations: 267 kB / 0.5759 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005323/0.3411, allocations: 0.5558 MB / 0.5764 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.343, allocations: 1.521 MB / 0.5779 GB, free: 2.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.343, allocations: 4 kB / 0.5779 GB, free: 2.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.343, allocations: 0 / 0.5779 GB, free: 2.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.343, allocations: 3.938 kB / 0.5779 GB, free: 2.703 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.00426/0.3472, allocations: 1.612 MB / 0.5795 GB, free: 1.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3473, allocations: 8.031 kB / 0.5795 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000274/0.3475, allocations: 191.9 kB / 0.5797 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008306/0.3559, allocations: 1.12 MB / 0.5807 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.3569, allocations: 488.3 kB / 0.5812 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.45e-05/0.357, allocations: 86.73 kB / 0.5813 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.3572, allocations: 120.3 kB / 0.5814 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/0.3598, allocations: 1.36 MB / 0.5827 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.186e-05/0.3598, allocations: 7.984 kB / 0.5827 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.3599, allocations: 48 kB / 0.5828 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.3599, allocations: 36 kB / 0.5828 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002995/0.3629, allocations: 1.433 MB / 0.5842 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007397/0.3703, allocations: 4.049 MB / 0.5882 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.3732, allocations: 1.022 MB / 0.5892 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008644/0.3741, allocations: 388.8 kB / 0.5896 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.3742, allocations: 44.03 kB / 0.5896 GB, free: 6.395 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.3743, allocations: 46.55 kB / 0.5896 GB, free: 6.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.805e-06/0.3743, allocations: 0 / 0.5896 GB, free: 6.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.00316/0.3774, allocations: 1.171 MB / 0.5908 GB, free: 5.164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.3776, allocations: 251.2 kB / 0.591 GB, free: 4.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006987/0.3783, allocations: 0.5606 MB / 0.5916 GB, free: 4.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.3783, allocations: 41.7 kB / 0.5916 GB, free: 4.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/0.3787, allocations: 476 kB / 0.5921 GB, free: 3.773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.3789, allocations: 309.4 kB / 0.5924 GB, free: 3.469 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/0.3792, allocations: 194.8 kB / 0.5925 GB, free: 3.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.3794, allocations: 378.8 kB / 0.5929 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009264/0.3803, allocations: 386.3 kB / 0.5933 GB, free: 2.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.3815, allocations: 0.6603 MB / 0.5939 GB, free: 1.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.3835, allocations: 1.062 MB / 0.595 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3835, allocations: 4 kB / 0.595 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00255/0.3861, allocations: 1.195 MB / 0.5961 GB, free: 15.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3861, allocations: 15.88 kB / 0.5961 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.3861, allocations: 8.688 kB / 0.5961 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.3863, allocations: 40.84 kB / 0.5962 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.3874, allocations: 291.5 kB / 0.5965 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.3875, allocations: 15.94 kB / 0.5965 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008744/0.3883, allocations: 155 kB / 0.5966 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.3884, allocations: 55.97 kB / 0.5967 GB, free: 14.78 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.0003834/0.3888, allocations: 253.5 kB / 0.5969 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.389, allocations: 75.52 kB / 0.597 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.3914, allocations: 1.027 MB / 0.598 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.3914, allocations: 12 kB / 0.598 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3914, allocations: 0 / 0.598 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.3915, allocations: 11.97 kB / 0.598 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.3956, allocations: 2.294 MB / 0.6003 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.3956, allocations: 4 kB / 0.6003 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000963/0.3965, allocations: 215.7 kB / 0.6005 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.3966, allocations: 24.84 kB / 0.6005 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.3967, allocations: 27.98 kB / 0.6005 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.3967, allocations: 7.984 kB / 0.6005 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.3967, allocations: 7.938 kB / 0.6005 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.3999, allocations: 1.83 MB / 0.6023 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.4001, allocations: 91.31 kB / 0.6024 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.4002, allocations: 16 kB / 0.6024 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008046/0.401, allocations: 67.94 kB / 0.6025 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.4011, allocations: 71.8 kB / 0.6026 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/0.4012, allocations: 35.98 kB / 0.6026 GB, free: 8.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005217/0.4017, allocations: 398.8 kB / 0.603 GB, free: 8.246 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4017, allocations: 0 / 0.603 GB, free: 8.246 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001106/0.4028, allocations: 295.3 kB / 0.6033 GB, free: 7.957 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.003824/0.4067, allocations: 2.437 MB / 0.6056 GB, free: 5.484 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.4091, allocations: 0.9101 MB / 0.6065 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4091, allocations: 4.125 kB / 0.6065 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.4101, allocations: 435.7 kB / 0.6069 GB, free: 4.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.4112, allocations: 110.4 kB / 0.607 GB, free: 4.031 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.424, allocations: 7.873 MB / 0.6147 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.4247, allocations: 0.9841 MB / 0.6157 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005376/0.4253, allocations: 134.2 kB / 0.6158 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.4258, allocations: 375.3 kB / 0.6162 GB, free: 10.29 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4258, allocations: 0 / 0.6162 GB, free: 10.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07658/0.5024, allocations: 18.36 MB / 0.6341 GB, free: 8.086 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.5, allocations: 64 / 0.6341 GB, free: 8.086 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.616998610996234]