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.001787/0.001787, allocations: 123 kB / 17.79 MB, free: 5.246 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.002325/0.002325, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.459/1.459, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.2477/0.2477, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.001866/0.001866, allocations: 71.88 kB / 0.4909 GB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1282, allocations: 65.99 MB / 0.5554 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008328/0.1365, allocations: 6.583 MB / 0.5618 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004914/0.1414, allocations: 2.267 MB / 0.564 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007777/0.1422, allocations: 20 kB / 0.564 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003673/0.1459, allocations: 1.536 MB / 0.5655 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.1487, allocations: 0.7107 MB / 0.5662 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.1503, allocations: 0.5955 MB / 0.5668 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.152, allocations: 1.182 MB / 0.568 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.1533, allocations: 0.7156 MB / 0.5687 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008201/0.1541, allocations: 0.506 MB / 0.5692 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008075/0.1549, allocations: 0.6264 MB / 0.5698 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.155, allocations: 104 kB / 0.5699 GB, free: 6.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000634/0.1557, allocations: 287.8 kB / 0.5701 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.1559, allocations: 267 kB / 0.5704 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005405/0.1564, allocations: 0.5559 MB / 0.5709 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.1584, allocations: 1.514 MB / 0.5724 GB, free: 4.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1584, allocations: 0 / 0.5724 GB, free: 4.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1584, allocations: 0 / 0.5724 GB, free: 4.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.696e-05/0.1584, allocations: 0 / 0.5724 GB, free: 4.258 MB / 430.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.004543/0.1629, allocations: 1.688 MB / 0.5741 GB, free: 2.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.163, allocations: 8.031 kB / 0.5741 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002812/0.1633, allocations: 187.9 kB / 0.5743 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008488/0.1718, allocations: 1.128 MB / 0.5754 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.1728, allocations: 0.5376 MB / 0.5759 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.739e-05/0.1729, allocations: 86.73 kB / 0.576 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.1731, allocations: 116.4 kB / 0.5761 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.1758, allocations: 1.372 MB / 0.5774 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/0.1758, allocations: 4 kB / 0.5774 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.1759, allocations: 44 kB / 0.5775 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.176, allocations: 28 kB / 0.5775 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003142/0.1791, allocations: 1.437 MB / 0.5789 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008442/0.1876, allocations: 5.643 MB / 0.5844 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/0.1911, allocations: 2.077 MB / 0.5864 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009631/0.192, allocations: 394.9 kB / 0.5868 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.1922, allocations: 190.3 kB / 0.587 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.1923, allocations: 54.5 kB / 0.587 GB, free: 4.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.387e-06/0.1923, allocations: 0 / 0.587 GB, free: 4.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.00357/0.1959, allocations: 1.242 MB / 0.5882 GB, free: 2.984 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.196, allocations: 247.2 kB / 0.5885 GB, free: 2.688 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007495/0.1968, allocations: 0.5683 MB / 0.589 GB, free: 2.105 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.1968, allocations: 41.7 kB / 0.5891 GB, free: 2.059 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.1972, allocations: 476 kB / 0.5895 GB, free: 1.586 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.1975, allocations: 301.4 kB / 0.5898 GB, free: 1.289 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.1978, allocations: 198.8 kB / 0.59 GB, free: 1.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.1981, allocations: 378.8 kB / 0.5904 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009904/0.199, allocations: 382.4 kB / 0.5907 GB, free: 344 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2699/0.469, allocations: 0.6592 MB / 0.5914 GB, free: 33.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.4711, allocations: 1.057 MB / 0.5924 GB, free: 32.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.4711, allocations: 4.125 kB / 0.5924 GB, free: 32.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002895/0.474, allocations: 1.2 MB / 0.5936 GB, free: 32.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.474, allocations: 13.05 kB / 0.5936 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.474, allocations: 9.094 kB / 0.5936 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.4742, allocations: 34.17 kB / 0.5936 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.4754, allocations: 290.2 kB / 0.5939 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.771e-05/0.4754, allocations: 19.25 kB / 0.5939 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000976/0.4764, allocations: 153.9 kB / 0.5941 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.083e-05/0.4765, allocations: 51.72 kB / 0.5941 GB, free: 32.77 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.0004299/0.4769, allocations: 255.7 kB / 0.5944 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.4772, allocations: 75.16 kB / 0.5944 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.4799, allocations: 1.031 MB / 0.5955 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.4799, allocations: 10.53 kB / 0.5955 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.4799, allocations: 10.34 kB / 0.5955 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.4799, allocations: 6.391 kB / 0.5955 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/0.4843, allocations: 2.317 MB / 0.5977 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.4843, allocations: 2.188 kB / 0.5977 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.4853, allocations: 219.5 kB / 0.598 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/0.4854, allocations: 33.97 kB / 0.598 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.246e-05/0.4855, allocations: 24.62 kB / 0.598 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/0.4855, allocations: 6.375 kB / 0.598 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4855, allocations: 4.656 kB / 0.598 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.489, allocations: 1.835 MB / 0.5998 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.4892, allocations: 163.3 kB / 0.6 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.4893, allocations: 25.05 kB / 0.6 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008292/0.4901, allocations: 60.8 kB / 0.6001 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.4903, allocations: 71.72 kB / 0.6001 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.4904, allocations: 28.72 kB / 0.6001 GB, free: 30.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005657/0.491, allocations: 402.6 kB / 0.6005 GB, free: 30.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.491, allocations: 0 / 0.6005 GB, free: 30.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00134/0.4923, allocations: 301.1 kB / 0.6008 GB, free: 30.26 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.003729/0.496, allocations: 2.433 MB / 0.6032 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.4986, allocations: 0.9881 MB / 0.6042 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4986, allocations: 0.5625 kB / 0.6042 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.4996, allocations: 0.5064 MB / 0.6047 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.5007, allocations: 111 kB / 0.6048 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.5129, allocations: 7.859 MB / 0.6124 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.5135, allocations: 0.9883 MB / 0.6134 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005902/0.5141, allocations: 138.1 kB / 0.6135 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/0.5146, allocations: 371.3 kB / 0.6139 GB, free: 22.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5146, allocations: 0 / 0.6139 GB, free: 22.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/0.5564, allocations: 17.67 MB / 0.6311 GB, free: 12.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.72, allocations: 0 / 0.6311 GB, free: 12.62 MB / 446.1 MB " [Timeout remaining time 648] (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: 14.986760425992543]