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.002081/0.002081, 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.002463/0.002463, allocations: 214.4 kB / 23.73 MB, free: 4.156 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.502/1.502, 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.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.2301/0.2301, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.002127/0.002127, allocations: 71.89 kB / 0.4961 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3685, allocations: 66.03 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008184/0.3767, allocations: 5.783 MB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004725/0.3814, allocations: 2.134 MB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007403/0.3822, allocations: 20 kB / 0.5683 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003673/0.3858, allocations: 1.408 MB / 0.5697 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.388, allocations: 0.7104 MB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.3894, allocations: 0.5721 MB / 0.571 GB, free: 9.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001637/0.391, allocations: 1.171 MB / 0.5721 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.3923, allocations: 0.8441 MB / 0.5729 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006817/0.393, allocations: 0.5176 MB / 0.5734 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.3937, allocations: 0.5444 MB / 0.574 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.3938, allocations: 108 kB / 0.5741 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005878/0.3944, allocations: 279.8 kB / 0.5743 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.3946, allocations: 267 kB / 0.5746 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004423/0.3951, allocations: 465.7 kB / 0.575 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.3968, allocations: 1.525 MB / 0.5765 GB, free: 3.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3968, allocations: 0 / 0.5765 GB, free: 3.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3968, allocations: 0 / 0.5765 GB, free: 3.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.3968, allocations: 0 / 0.5765 GB, free: 3.848 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.004244/0.401, allocations: 1.612 MB / 0.5781 GB, free: 2.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4011, allocations: 8.031 kB / 0.5781 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002741/0.4014, allocations: 191.9 kB / 0.5783 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008158/0.4095, allocations: 1.124 MB / 0.5794 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.4109, allocations: 496.3 kB / 0.5799 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.411, allocations: 82.73 kB / 0.5799 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/0.4112, allocations: 124.3 kB / 0.5801 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.4141, allocations: 1.464 MB / 0.5815 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.4141, allocations: 0 / 0.5815 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.4142, allocations: 52 kB / 0.5815 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.4143, allocations: 28 kB / 0.5816 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.4173, allocations: 1.421 MB / 0.583 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007536/0.4248, allocations: 3.718 MB / 0.5866 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.4278, allocations: 1.005 MB / 0.5876 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008794/0.4286, allocations: 384.9 kB / 0.5879 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.4288, allocations: 35.91 kB / 0.588 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.4288, allocations: 50.47 kB / 0.588 GB, free: 7.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.935e-06/0.4288, allocations: 0 / 0.588 GB, free: 7.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.00325/0.4321, allocations: 1.169 MB / 0.5892 GB, free: 6.559 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.4322, allocations: 255.2 kB / 0.5894 GB, free: 6.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.433, allocations: 0.576 MB / 0.59 GB, free: 5.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/0.433, allocations: 41.7 kB / 0.59 GB, free: 5.621 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.4334, allocations: 484.1 kB / 0.5905 GB, free: 5.141 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.4336, allocations: 313.4 kB / 0.5908 GB, free: 4.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/0.4339, allocations: 190.9 kB / 0.5909 GB, free: 4.637 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.4341, allocations: 370.8 kB / 0.5913 GB, free: 4.266 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009084/0.435, allocations: 386.4 kB / 0.5917 GB, free: 3.891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.4362, allocations: 0.7143 MB / 0.5924 GB, free: 3.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.4383, allocations: 1.059 MB / 0.5934 GB, free: 1.871 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.4383, allocations: 4 kB / 0.5934 GB, free: 1.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002696/0.441, allocations: 1.199 MB / 0.5946 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.441, allocations: 11.94 kB / 0.5946 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.4411, allocations: 8 kB / 0.5946 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.4412, allocations: 36.84 kB / 0.5946 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.4424, allocations: 292.2 kB / 0.5949 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/0.4424, allocations: 19.94 kB / 0.5949 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009302/0.4433, allocations: 155 kB / 0.5951 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.633e-05/0.4434, allocations: 47.98 kB / 0.5951 GB, free: 100 kB / 430.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.0004922/0.4439, allocations: 257.6 kB / 0.5954 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.4442, allocations: 79.52 kB / 0.5954 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.4466, allocations: 1.019 MB / 0.5964 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.4466, allocations: 16 kB / 0.5965 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4466, allocations: 0 / 0.5965 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.4466, allocations: 7.984 kB / 0.5965 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/0.4508, allocations: 2.15 MB / 0.5986 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.4508, allocations: 4 kB / 0.5986 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009883/0.4518, allocations: 211.7 kB / 0.5988 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.4519, allocations: 32.84 kB / 0.5988 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.452, allocations: 23.98 kB / 0.5988 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.452, allocations: 4 kB / 0.5988 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.452, allocations: 3.938 kB / 0.5988 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003319/0.4553, allocations: 1.837 MB / 0.6006 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.4555, allocations: 91.3 kB / 0.6007 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.4556, allocations: 27.94 kB / 0.6007 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007988/0.4564, allocations: 59.94 kB / 0.6008 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.4566, allocations: 75.8 kB / 0.6009 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.4567, allocations: 31.98 kB / 0.6009 GB, free: 10.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000491/0.4571, allocations: 398.8 kB / 0.6013 GB, free: 9.699 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4571, allocations: 4 kB / 0.6013 GB, free: 9.695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00107/0.4582, allocations: 295.4 kB / 0.6016 GB, free: 9.406 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.003983/0.4622, allocations: 2.436 MB / 0.6039 GB, free: 6.938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002395/0.4646, allocations: 0.9145 MB / 0.6048 GB, free: 6.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4646, allocations: 0 / 0.6048 GB, free: 6.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.4656, allocations: 439.4 kB / 0.6053 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.4668, allocations: 104.5 kB / 0.6054 GB, free: 5.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.4793, allocations: 7.865 MB / 0.613 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.4798, allocations: 394.1 kB / 0.6134 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005536/0.4803, allocations: 142.2 kB / 0.6135 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/0.4809, allocations: 371.3 kB / 0.6139 GB, free: 12.35 MB / 462.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4809, allocations: 3.938 kB / 0.6139 GB, free: 12.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05251/0.5334, allocations: 18.89 MB / 0.6324 GB, free: 9.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.67, allocations: 6.984 kB / 0.6324 GB, free: 9.676 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.835225893184543]